Alex Lourie has uploaded a new change for review.

Change subject: packaging: setup: show messages in closeup stage
......................................................................

packaging: setup: show messages in closeup stage

Change-Id: Idbadc5c6084c4e5dde79bd31f532e7bbcdd9d285
Signed-off-by: Alex Lourie <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-common/core/misc.py
1 file changed, 15 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/32/19632/1

diff --git a/packaging/setup/plugins/ovirt-engine-common/core/misc.py 
b/packaging/setup/plugins/ovirt-engine-common/core/misc.py
index 96d0057..5585530 100644
--- a/packaging/setup/plugins/ovirt-engine-common/core/misc.py
+++ b/packaging/setup/plugins/ovirt-engine-common/core/misc.py
@@ -124,21 +124,9 @@
             )
 
     @plugin.event(
-        stage=plugin.Stages.STAGE_CLEANUP,
+        stage=plugin.Stages.STAGE_CLOSEUP,
     )
-    def _cleanup(self):
-        self.dialog.note(
-            text=_('Log file is located at {path}').format(
-                path=self.environment[
-                    otopicons.CoreEnv.LOG_FILE_NAME
-                ],
-            ),
-        )
-
-    @plugin.event(
-        stage=plugin.Stages.STAGE_TERMINATE,
-    )
-    def _terminate(self):
+    def _closeup(self):
         if self.environment[otopicons.BaseEnv.ERROR]:
             self.logger.error(
                 _('Execution of {action} failed').format(
@@ -156,5 +144,18 @@
                 ),
             )
 
+    @plugin.event(
+        stage=plugin.Stages.STAGE_CLEANUP,
+    )
+    def _cleanup(self):
+        self.dialog.note(
+            text=_('Log file is located at {path}').format(
+                path=self.environment[
+                    otopicons.CoreEnv.LOG_FILE_NAME
+                ],
+            ),
+        )
+
+
 
 # vim: expandtab tabstop=4 shiftwidth=4


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

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

Reply via email to