[csw-devel] SF.net SVN: gar:[8771] csw/mgar/gar/v2/lib/python/submit_to_newpkgs.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Feb 23 20:51:59 CET 2010
Revision: 8771
http://gar.svn.sourceforge.net/gar/?rev=8771&view=rev
Author: wahwah
Date: 2010-02-23 19:51:56 +0000 (Tue, 23 Feb 2010)
Log Message:
-----------
mGAR v2: submitpkg, a more terse error message.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/submit_to_newpkgs.py
Modified: csw/mgar/gar/v2/lib/python/submit_to_newpkgs.py
===================================================================
--- csw/mgar/gar/v2/lib/python/submit_to_newpkgs.py 2010-02-23 19:49:26 UTC (rev 8770)
+++ csw/mgar/gar/v2/lib/python/submit_to_newpkgs.py 2010-02-23 19:51:56 UTC (rev 8771)
@@ -135,8 +135,9 @@
try:
ret = subprocess.call(args)
except OSError, e:
- raise PackageSubmissionError("Couldn't run %s, is the binary "
- "in the path? %s" % (args, e))
+ raise PackageSubmissionError(
+ "Couldn't run %s, is the binary "
+ "in the $PATH? The error was: %s" % (repr(args[0]), e))
if ret:
msg = "Copying %s to %s has failed." % (p, dst_arg)
logging.error(msg)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list