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

Change subject: dialog: human: add debug print of variable name
......................................................................

dialog: human: add debug print of variable name

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


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/10/23110/1

diff --git a/src/plugins/otopi/dialog/human.py 
b/src/plugins/otopi/dialog/human.py
index c9ba9f3..9ed51b4 100644
--- a/src/plugins/otopi/dialog/human.py
+++ b/src/plugins/otopi/dialog/human.py
@@ -150,6 +150,7 @@
         prompt=False,
         default=None,
     ):
+        self.logger.debug('query %s', name)
         if default is not None:
             default = str(default)
         if validValues is not None:
@@ -181,6 +182,7 @@
         return value
 
     def queryMultiString(self, name, note=None):
+        self.logger.debug('query %s', name)
         if note is None:
             note = _("\nPlease specify multiple strings for '{name}':").format(
                 name=name
@@ -200,6 +202,7 @@
         return value
 
     def queryValue(self, name, note=None):
+        self.logger.debug('query %s', name)
         if note is None:
             note = _("\nPlease specify value for '{name}':").format(
                 name=name
@@ -210,6 +213,7 @@
         return value
 
     def displayValue(self, name, value, note=None):
+        self.logger.debug('display %s', name)
         if note is not None:
             self.note(text=note)
 
@@ -222,6 +226,7 @@
         )
 
     def displayMultiString(self, name, value, note=None):
+        self.logger.debug('display %s', name)
         if note is not None:
             self.note(text=note)
 
@@ -241,6 +246,7 @@
         note=None,
         prompt=False,
     ):
+        self.logger.debug('confirm %s', name)
         if note is None:
             note = _(
                 "\nPlease confirm {description} [yes/no]: "


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

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