[node-patches] Change in ovirt-node[master]: password.py:Shown stack trace info wasn't necessary to users

hadong0720 at gmail.com hadong0720 at gmail.com
Mon Jul 1 08:28:03 UTC 2013


hadong has uploaded a new change for review.

Change subject: password.py:Shown stack trace info wasn't necessary to users
......................................................................

password.py:Shown stack trace info wasn't necessary to users

Previously when setting "New password" and "Reytpe new Password" to
different values, password.py will raise stack trace info.
Actually it wasn't necessary to users, so drop it from password.py

Change-Id: If34297c9ea4da28d1f54d806b3c63ed040180192
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=979964
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/tools/password.py
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/82/16282/1

diff --git a/src/ovirt/node/tools/password.py b/src/ovirt/node/tools/password.py
index 39838da..a60c139 100644
--- a/src/ovirt/node/tools/password.py
+++ b/src/ovirt/node/tools/password.py
@@ -84,7 +84,6 @@
             security.Passwd().set_password(username, pw)
             self.logger.info("Password updated successfully.")
         except ValueError as e:
-            self.logger.exception("Exception:")
             self.logger.error("Password update failed: %s" % e.message)
 
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If34297c9ea4da28d1f54d806b3c63ed040180192
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list