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/1110662
Signed-off-by: Sandro Bonazzola <[email protected]>
(cherry picked from commit 16f4471fe7cfda9c9330f3adb672fbd93c043242)
---
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, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/78/28878/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 cd2e49f..852f98f 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.
@@ -32,6 +32,7 @@
 
 from ovirt_engine_setup import constants as osetupcons
 from ovirt_engine_setup import database
+from ovirt_engine_setup import dialog
 
 
 from async_tasks_map import ASYNC_TASKS_MAP
@@ -222,7 +223,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 84acecc..a31c809 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.
@@ -29,6 +29,7 @@
 
 
 from ovirt_engine_setup import constants as osetupcons
+from ovirt_engine_setup import dialog
 
 
 @util.export
@@ -135,7 +136,7 @@
                 )
                 self.environment[
                     osetupcons.DBEnv.FIX_DB_VIOLATIONS
-                ] = self.dialog.queryBoolean(
+                ] = dialog.queryBoolean(
                     dialog=self.dialog,
                     name='OVESETUP_FIX_DB_VALIDATIONS',
                     note=_(


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

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

Reply via email to