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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Feb 15 09:58:25 CET 2011


Revision: 13320
          http://gar.svn.sourceforge.net/gar/?rev=13320&view=rev
Author:   wahwah
Date:     2011-02-15 08:58:24 +0000 (Tue, 15 Feb 2011)

Log Message:
-----------
csw-upload-pkg: Internal API bugfix

Fix argument order in two function calls.

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-02-15 08:57:55 UTC (rev 13319)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-02-15 08:58:24 UTC (rev 13320)
@@ -89,7 +89,7 @@
     catalogs = self._MatchSrv4ToCatalogs(
         filename, DEFAULT_CATREL, arch, osrel, md5_sum)
     for unused_catrel, cat_arch, cat_osrel in catalogs:
-      self._RemoveFromCatalog(filename, file_metadata, cat_arch, cat_osrel)
+      self._RemoveFromCatalog(filename, cat_arch, cat_osrel, file_metadata)
 
   def _RemoveFromCatalog(self, filename, arch, osrel, file_metadata):
     md5_sum = self._GetFileMd5sum(filename)
@@ -195,7 +195,7 @@
     catalogs = self._MatchSrv4ToCatalogs(
         filename, DEFAULT_CATREL, arch, osrel, md5_sum)
     for unused_catrel, cat_arch, cat_osrel in catalogs:
-      self._InsertIntoCatalog(filename, file_metadata, cat_arch, cat_osrel)
+      self._InsertIntoCatalog(filename, cat_arch, cat_osrel, file_metadata)
 
   def _InsertIntoCatalog(self, filename, arch, osrel, file_metadata):
     logging.info(


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