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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 23 12:44:11 CET 2011


Revision: 13068
          http://gar.svn.sourceforge.net/gar/?rev=13068&view=rev
Author:   wahwah
Date:     2011-01-23 11:44:11 +0000 (Sun, 23 Jan 2011)

Log Message:
-----------
csw_upload_pkg: Catalog url bugfix

A bugfix for URL when checking for existence of srv4 files.

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-01-23 11:43:42 UTC (rev 13067)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-01-23 11:44:11 UTC (rev 13068)
@@ -146,7 +146,8 @@
     c = pycurl.Curl()
     d = StringIO()
     h = StringIO()
-    c.setopt(pycurl.URL, BASE_URL + "srv4/")
+    url = BASE_URL + "srv4/"
+    c.setopt(pycurl.URL, url)
     c.setopt(pycurl.POST, 1)
     post_data = [
         ('srv4_file', (pycurl.FORM_FILE, filename)),


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