# HG changeset patch # User Pascal Volk # Date 1281158026 0 # Node ID b7a4d782860845ec3840a2933605b4665bd9977e # Parent d60ffbc0124ba52b7962e507856eec6c64df9f8a VMM/common: Reformulated error message in exec_ok. diff -r d60ffbc0124b -r b7a4d7828608 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'") %