[csw-devel] SF.net SVN: gar:[14123] csw/mgar/gar/v2/lib/python/csw_upload_pkg.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Apr 11 11:14:07 CEST 2011


Revision: 14123
          http://gar.svn.sourceforge.net/gar/?rev=14123&view=rev
Author:   wahwah
Date:     2011-04-11 09:14:07 +0000 (Mon, 11 Apr 2011)

Log Message:
-----------
csw-upload-pkg: Better error output

Display a message that there's a problem with the file list.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/csw_upload_pkg.py

Modified: csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-04-11 08:48:53 UTC (rev 14122)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-04-11 09:14:07 UTC (rev 14123)
@@ -533,8 +533,9 @@
   fc = file_set_checker.FileSetChecker()
   error_tags = fc.CheckFiles(args)
   if error_tags:
+    print "There is a problem with the presented file list."
     for error_tag in error_tags:
-      print error_tag
+      print "*", error_tag
     sys.exit(1)
 
   uploader = Srv4Uploader(args,


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