Simone Tiraboschi has uploaded a new change for review.

Change subject: packaging: setup: fix for python 2.6
......................................................................

packaging: setup: fix for python 2.6

Fix Iec4f409203e3a2d6da314208e9a0f422be00ce1b to use
python 2.6 compatible code.

Change-Id: I92020abef40faec020de2852668bdb5abfe93b78
Signed-off-by: Simone Tiraboschi <[email protected]>
---
M src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/35/39435/1

diff --git a/src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py 
b/src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py
index 8c86985..99aaa42 100644
--- a/src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py
+++ b/src/plugins/ovirt-hosted-engine-setup/vm/cloud_init.py
@@ -96,11 +96,11 @@
         name=ohostedcons.Stages.CONFIG_CLOUD_INIT_OPTIONS,
     )
     def _customization(self):
-        interactive = {
+        interactive = set([
             self.environment[ohostedcons.VMEnv.GENERATE_CLOUD_INIT_ISO],
             self.environment[ohostedcons.VMEnv.CLOUD_INIT_ROOTPWD],
             self.environment[ohostedcons.VMEnv.CLOUD_INIT_INSTANCE_HOSTNAME],
-        } == {None}
+        ]) == set([None])
 
         if interactive:
             if self.dialog.queryString(


-- 
To view, visit https://gerrit.ovirt.org/39435
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I92020abef40faec020de2852668bdb5abfe93b78
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to