summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-03-20 21:06:59 +0900
committerkali <kali@leap.se>2013-03-21 21:18:54 +0900
commit74600d1c73cfc2f958f2c64d57ea8fb85d348424 (patch)
tree52247b8bc24c90d55cbccc4d66973e886659b8fe
parente1e47c8fa7d8c6a7b1e17066c243219362132f6d (diff)
syntax fix for python 2.6
-rw-r--r--src/leap/gui/wizard.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/gui/wizard.py b/src/leap/gui/wizard.py
index 4e811fb9..dee3b230 100644
--- a/src/leap/gui/wizard.py
+++ b/src/leap/gui/wizard.py
@@ -435,10 +435,10 @@ class Wizard(QtGui.QWizard):
"""
if state == QtCore.Qt.Checked:
self._selected_services = \
- self._selected_services.union({service})
+ self._selected_services.union(set([service]))
else:
self._selected_services = \
- self._selected_services.difference({service})
+ self._selected_services.difference(set([service]))
def _populate_services(self):
"""