Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: fix references to dialog.queryBoolean
......................................................................

packaging: setup: fix references to dialog.queryBoolean

Fixed references to dialog.queryBoolean introduced in
commit a24709a1 (2013-06-19)

Change-Id: I94abb99e9ba4e6bebc316ccfdb6e7bb9b8031400
Bug-Url: https://bugzilla.redhat.com/1110510
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
M 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/dbvalidations.py
2 files changed, 7 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/74/28874/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
index aaa9850..9cb6ff7 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
@@ -1,6 +1,6 @@
 #
 # ovirt-engine-setup -- ovirt engine setup
-# Copyright (C) 2013 Red Hat, Inc.
+# Copyright (C) 2013-2014 Red Hat, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -30,9 +30,9 @@
 from otopi import base
 
 
+from ovirt_engine_setup import dialog
 from ovirt_engine_setup.engine import constants as oenginecons
-from ovirt_engine_setup.engine_common \
-    import constants as oengcommcons
+from ovirt_engine_setup.engine_common import constants as oengcommcons
 from ovirt_engine_setup.engine_common import database
 
 
@@ -224,7 +224,7 @@
                 compensations='\n'.join(compensations),
             )
         )
-        if not self.dialog.queryBoolean(
+        if not dialog.queryBoolean(
             dialog=self.dialog,
             name='OVESETUP_STOP_RUNNING_TASKS',
             note=_(
diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/dbvalidations.py
 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/dbvalidations.py
index 9da0e9f..6308c0e 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/dbvalidations.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/dbvalidations.py
@@ -1,6 +1,6 @@
 #
 # ovirt-engine-setup -- ovirt engine setup
-# Copyright (C) 2013 Red Hat, Inc.
+# Copyright (C) 2013-2014 Red Hat, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
 from otopi import plugin
 
 
+from ovirt_engine_setup import dialog
 from ovirt_engine_setup.engine import constants as oenginecons
 from ovirt_engine_setup.engine_common \
     import constants as oengcommcons
@@ -140,7 +141,7 @@
                 )
                 self.environment[
                     oenginecons.EngineDBEnv.FIX_DB_VIOLATIONS
-                ] = self.dialog.queryBoolean(
+                ] = dialog.queryBoolean(
                     dialog=self.dialog,
                     name='OVESETUP_FIX_DB_VALIDATIONS',
                     note=_(


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

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

Reply via email to