From 5aa67d1c62963e20f29ef15d4f1bca75916611fa Mon Sep 17 00:00:00 2001 From: micafer Date: Tue, 30 Apr 2019 18:07:15 +0200 Subject: [PATCH] Fix style --- IM/connectors/OpenNebula.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IM/connectors/OpenNebula.py b/IM/connectors/OpenNebula.py index 63a0ae6bf..21acf9ced 100644 --- a/IM/connectors/OpenNebula.py +++ b/IM/connectors/OpenNebula.py @@ -1090,10 +1090,10 @@ def create_snapshot(self, vm, disk_num, image_name, auto_delete, auth_data): one_ver = self.getONEVersion(auth_data) if one_ver.startswith("5."): success, res_info = server.one.vm.disksaveas(session_id, int(vm.id), disk_num, - image_name, image_type, -1)[0:2] + image_name, image_type, -1)[0:2] else: success, res_info = server.one.vm.savedisk(session_id, int(vm.id), disk_num, - image_name, image_type, True, False)[0:2] + image_name, image_type, True, False)[0:2] if success: new_url = "one://%s/%d" % (self.cloud.server, res_info)