[csw-devel] SF.net SVN: gar:[13333] csw/mgar/gar/v2/lib/python/rest.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Feb 16 17:32:04 CET 2011
Revision: 13333
http://gar.svn.sourceforge.net/gar/?rev=13333&view=rev
Author: wahwah
Date: 2011-02-16 16:32:03 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
csw-upload-pkg: Rest client url bugfix
There was a wrong URL that the rest client was using, and it was causing it to
think that packages are always missing from the catalogs.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/rest.py
Modified: csw/mgar/gar/v2/lib/python/rest.py
===================================================================
--- csw/mgar/gar/v2/lib/python/rest.py 2011-02-16 12:30:34 UTC (rev 13332)
+++ csw/mgar/gar/v2/lib/python/rest.py 2011-02-16 16:32:03 UTC (rev 13333)
@@ -50,7 +50,7 @@
def Srv4ByCatalogAndCatalogname(self, catrel, arch, osrel, catalogname):
"""Returns a srv4 data structure or None if not found."""
url = BASE_URL + (
- "/catalogs/%s/%s/%s/%s/"
+ "/catalogs/%s/%s/%s/catalognames/%s/"
% (catrel, arch, osrel, catalogname))
logging.debug("Srv4ByCatalogAndCatalogname(): GET %s", url)
try:
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