Change in vdsm[master]: minor changes in passwd.py

mtayer at redhat.com mtayer at redhat.com
Thu Mar 6 16:03:52 UTC 2014


mooli tayer has uploaded a new change for review.

Change subject: minor changes in passwd.py
......................................................................

minor changes in passwd.py

Replace Exception with RuntimeError and singleton tuple with variable.

Change-Id: I4ced7980e975e2cce588261812ecdb1847b5941f
Signed-off-by: Mooli Tayer <mtayer at redhat.com>
---
M lib/vdsm/tool/passwd.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/25489/1

diff --git a/lib/vdsm/tool/passwd.py b/lib/vdsm/tool/passwd.py
index 0b127c8..d88a8db 100644
--- a/lib/vdsm/tool/passwd.py
+++ b/lib/vdsm/tool/passwd.py
@@ -43,4 +43,4 @@
         stderr=subprocess.PIPE, close_fds=True)
     output, err = p.communicate()
     if p.returncode != 0:
-        raise Exception("Set password failed: %s" % (err, ))
+        raise RuntimeError("Set password failed: %s" % err)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ced7980e975e2cce588261812ecdb1847b5941f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <mtayer at redhat.com>


More information about the vdsm-patches mailing list