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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue May 24 09:33:11 CEST 2011


Revision: 14636
          http://gar.svn.sourceforge.net/gar/?rev=14636&view=rev
Author:   wahwah
Date:     2011-05-24 07:33:11 +0000 (Tue, 24 May 2011)

Log Message:
-----------
csw-upload-pkg: Don't sort empty input

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-05-23 11:58:29 UTC (rev 14635)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-05-24 07:33:11 UTC (rev 14636)
@@ -74,7 +74,9 @@
       output_to_screen=True,
       username=None, password=None):
     super(Srv4Uploader, self).__init__()
-    self.filenames = self.SortFilenames(filenames)
+    if filenames:
+      filenames = self.SortFilenames(filenames)
+    self.filenames = filenames
     self.md5_by_filename = {}
     self.debug = debug
     self.os_release = os_release


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