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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Apr 7 01:22:31 CEST 2011


Revision: 14091
          http://gar.svn.sourceforge.net/gar/?rev=14091&view=rev
Author:   wahwah
Date:     2011-04-06 23:22:31 +0000 (Wed, 06 Apr 2011)

Log Message:
-----------
csw-upload-pkg: A display bugfix

A variable inside a loop was not refreshed on every iteration,
displaying old data.  The display would show a message about a sparc
package being inserted into a i386 catalog.

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-06 22:20:41 UTC (rev 14090)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-04-06 23:22:31 UTC (rev 14091)
@@ -189,6 +189,7 @@
       print "All checks successful. Proceeding."
       for arch, osrel in checkpkg_sets:
         for filename, md5_sum in checkpkg_sets[(arch, osrel)]:
+          file_metadata = metadata_by_md5[md5_sum]
           self._InsertIntoCatalog(filename, arch, osrel, file_metadata)
 
   def Remove(self):


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