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

Change subject: dialog: do not log strings if hidden
......................................................................

dialog: do not log strings if hidden

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


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/48/11348/1

diff --git a/src/otopi/dialog.py b/src/otopi/dialog.py
index 50b4fcb..189975e 100644
--- a/src/otopi/dialog.py
+++ b/src/otopi/dialog.py
@@ -254,7 +254,8 @@
                 raise IOError(_('End of file'))
 
         value = value.rstrip('\n')
-        self.__logString('RECEIVE', value)
+        if not hidden:
+            self.__logString('RECEIVE', value)
         return value
 
     def _flush(self):


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

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