Alon Bar-Lev has uploaded a new change for review.

Change subject: dialog: cli: perform dialog at lowest priority
......................................................................

dialog: cli: perform dialog at lowest priority

This gives a chance for other common plugins to
manage environment before cli.

Change-Id: If5e857dd3216f273cc1f73a333febf24eddcde53
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/plugins/otopi/dialog/cli.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/22/11522/1

diff --git a/src/plugins/otopi/dialog/cli.py b/src/plugins/otopi/dialog/cli.py
index 497f597..5bd6ad7 100644
--- a/src/plugins/otopi/dialog/cli.py
+++ b/src/plugins/otopi/dialog/cli.py
@@ -134,6 +134,7 @@
 
     @plugin.event(
         stage=plugin.Stages.STAGE_CUSTOMIZATION,
+        priority=plugin.Stages.PRIORITY_LOW,
         condition=(
             lambda self: self.environment[constants.DialogEnv.CUSTOMIZATION]
         ),
@@ -149,6 +150,7 @@
 
     @plugin.event(
         stage=plugin.Stages.STAGE_PRE_TERMINATE,
+        priority=plugin.Stages.PRIORITY_LOW,
         condition=(
             lambda self: self.environment[constants.DialogEnv.CUSTOMIZATION]
         ),


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

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

Reply via email to