Change in vdsm[master]: tool: Fix compatibility with Python 2.6

nsoffer at redhat.com nsoffer at redhat.com
Wed Aug 20 23:35:27 UTC 2014


Nir Soffer has uploaded a new change for review.

Change subject: tool: Fix compatibility with Python 2.6
......................................................................

tool: Fix compatibility with Python 2.6

Commit 398d016b58 was merged too quickly, before Python developers could
add set literals to Python 2.6. Since this is quite late now to add it,
I think we should use the good old set() syntax.

Change-Id: I77c02b69eaf1852b227d04c194461e542f0a096a
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M lib/vdsm/tool/configurators/libvirt.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/34/31734/1

diff --git a/lib/vdsm/tool/configurators/libvirt.py b/lib/vdsm/tool/configurators/libvirt.py
index c1ee527..da19da2 100644
--- a/lib/vdsm/tool/configurators/libvirt.py
+++ b/lib/vdsm/tool/configurators/libvirt.py
@@ -112,7 +112,7 @@
             content['removeConf'](self, content['path'])
 
     def getRequires(self):
-        return {'certificates'}
+        return set(['certificates'])
 
     def _getPersistedFiles(self):
         """


-- 
To view, visit http://gerrit.ovirt.org/31734
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77c02b69eaf1852b227d04c194461e542f0a096a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list