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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Apr 20 16:55:10 CEST 2011


Revision: 14344
          http://gar.svn.sourceforge.net/gar/?rev=14344&view=rev
Author:   wahwah
Date:     2011-04-20 14:55:10 +0000 (Wed, 20 Apr 2011)

Log Message:
-----------
csw-upload-pkg: Bugfix, packages with errors

Packages with errors were still inserted into the database, because a tuple
was not unpacked and always translated to boolean True.

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-20 14:54:31 UTC (rev 14343)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-04-20 14:55:10 UTC (rev 14344)
@@ -526,7 +526,7 @@
         print " ", " ".join(args_by_cat[(arch, osrel)])
       print ("Packages have not been submitted to the %s catalog."
              % DEFAULT_CATREL)
-    return (not checks_failed_for_catalogs, checkpkg_sets)
+    return not checks_failed_for_catalogs
 
 
 if __name__ == '__main__':


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