Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: setup: fix for python 2.6 ......................................................................
packaging: setup: fix for python 2.6 Fix I99de636d4da15a253f2186084902f0f133603f4d to use python 2.6 compatible code. Change-Id: Ide1164ca2a404f67b46ff906a96ec70f4519d8b1 Signed-off-by: Yedidyah Bar David <[email protected]> --- M packaging/setup/ovirt_engine_setup/engine_common/database.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/27/39427/1 diff --git a/packaging/setup/ovirt_engine_setup/engine_common/database.py b/packaging/setup/ovirt_engine_setup/engine_common/database.py index 100a0e9..b28295d 100644 --- a/packaging/setup/ovirt_engine_setup/engine_common/database.py +++ b/packaging/setup/ovirt_engine_setup/engine_common/database.py @@ -693,7 +693,7 @@ stdout.close() self.logger.debug('db backup res %s' % res) - if {r['rc'] for r in res['result']} != {0}: + if set([r['rc'] for r in res['result']]) != set([0]): raise RuntimeError( _( 'Failed to backup database, please check ' -- To view, visit https://gerrit.ovirt.org/39427 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ide1164ca2a404f67b46ff906a96ec70f4519d8b1 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
