Dan Kenigsberg has uploaded a new change for review.

Change subject: use CommandPath.name
......................................................................

use CommandPath.name

At the moment, CommandPath.name is initialized, but its only use as a
third string argument to OSError() is ignored.

Change-Id: I1f47b262d463a71b0438648201854cb6556355d8
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M vdsm/utils.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/10830/1

diff --git a/vdsm/utils.py b/vdsm/utils.py
index f29533c..08a5095 100644
--- a/vdsm/utils.py
+++ b/vdsm/utils.py
@@ -896,7 +896,7 @@
                     break
             else:
                 raise OSError(os.errno.ENOENT,
-                              os.strerror(os.errno.ENOENT), self.name)
+                              os.strerror(os.errno.ENOENT) + ': ' + self.name)
         return self._cmd
 
     def __repr__(self):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f47b262d463a71b0438648201854cb6556355d8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to