Nir Soffer has uploaded a new change for review. Change subject: tool: Fix another Python 2.6 compatibility ......................................................................
tool: Fix another Python 2.6 compatibility Commit 096cc03d2f replaced the configurators tuple with a dict, using dict comprehension syntax, which is not available on Python 2.6. Now we use the good old dict() syntax instead. Change-Id: Iee6e473d268317f7cdc42022a7a645e5eaee3a26 Signed-off-by: Nir Soffer <[email protected]> --- M lib/vdsm/tool/configurator.py 1 file changed, 5 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/31738/1 diff --git a/lib/vdsm/tool/configurator.py b/lib/vdsm/tool/configurator.py index 2f71075..277f5d9 100644 --- a/lib/vdsm/tool/configurator.py +++ b/lib/vdsm/tool/configurator.py @@ -34,13 +34,12 @@ def _getConfigurers(): - return { - m.getName(): m for m in ( - certificates.Certificates(), - libvirt.Libvirt(), - sanlock.Sanlock(), + return dict((m.getName(), m) for m in ( + certificates.Certificates(), + libvirt.Libvirt(), + sanlock.Sanlock(), ) - } + ) @expose("configure") -- To view, visit http://gerrit.ovirt.org/31738 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iee6e473d268317f7cdc42022a7a645e5eaee3a26 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
