SF.net SVN: gar:[22228] csw/mgar/gar/v2/lib/python/rest.py

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Oct 15 22:12:27 CEST 2013


Revision: 22228
          http://gar.svn.sourceforge.net/gar/?rev=22228&view=rev
Author:   dmichelsen
Date:     2013-10-15 20:12:26 +0000 (Tue, 15 Oct 2013)
Log Message:
-----------
web rest.py: Add debug output

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	2013-10-15 20:09:16 UTC (rev 22227)
+++ csw/mgar/gar/v2/lib/python/rest.py	2013-10-15 20:12:26 UTC (rev 22228)
@@ -250,6 +250,7 @@
   def GetCatalogForGeneration(self, catrel, arch, osrel):
     url = (self.rest_url + self.PKGDB_APP + "/catalogs/%s/%s/%s/for-generation/"
            % (catrel, arch, osrel))
+    logging.debug("GetCatalogForGeneration(): url=%r", url)
     data = urllib2.urlopen(url).read()
     return cjson.decode(data)
 

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