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

Change subject: core: misc: dump environment before validation
......................................................................

core: misc: dump environment before validation

Useful for debug.

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


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/60/10360/1

diff --git a/src/plugins/otopi/core/misc.py b/src/plugins/otopi/core/misc.py
index 6ede6da..483a488 100644
--- a/src/plugins/otopi/core/misc.py
+++ b/src/plugins/otopi/core/misc.py
@@ -67,3 +67,12 @@
                 version=config.PACKAGE_VERSION,
             )
         )
+
+    @plugin.event(
+        stage=plugin.Stages.STAGE_VALIDATION,
+        priority=plugin.Stages.PRIORITY_FIRST,
+    )
+    def _setup(self):
+        # as we want full dump and not delta
+        # of something before validation
+        self.context.dumpEnvironment()


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I026da7e83bd7cf9b17b73156c7e090649dd297fa
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