VMM/common: Reformulated error message in exec_ok. v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Sat, 07 Aug 2010 05:13:46 +0000
branchv0.6.x
changeset 350 b7a4d7828608
parent 349 d60ffbc0124b
child 351 4bba5fb90b78
VMM/common: Reformulated error message in exec_ok.
VirtualMailManager/common.py
--- a/VirtualMailManager/common.py	Sat Aug 07 04:44:23 2010 +0000
+++ b/VirtualMailManager/common.py	Sat Aug 07 05:13:46 2010 +0000
@@ -59,7 +59,7 @@
     """
     binary = expand_path(binary)
     if not os.path.isfile(binary):
-        raise VMMError(_(u"'%s' is not a file") % get_unicode(binary),
+        raise VMMError(_(u"No such file: '%s'") % get_unicode(binary),
                        NO_SUCH_BINARY)
     if not os.access(binary, os.X_OK):
         raise VMMError(_(u"File is not executable: '%s'") %