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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed May 30 00:26:01 CEST 2012


Revision: 18165
          http://gar.svn.sourceforge.net/gar/?rev=18165&view=rev
Author:   wahwah
Date:     2012-05-29 22:26:01 +0000 (Tue, 29 May 2012)
Log Message:
-----------
generate-catalog-file: absolute db path

The script is executed with different CWDs, so it needs an absolute path to
the cache database.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/generate_catalog_file.py

Modified: csw/mgar/gar/v2/lib/python/generate_catalog_file.py
===================================================================
--- csw/mgar/gar/v2/lib/python/generate_catalog_file.py	2012-05-29 22:25:30 UTC (rev 18164)
+++ csw/mgar/gar/v2/lib/python/generate_catalog_file.py	2012-05-29 22:26:01 UTC (rev 18165)
@@ -37,7 +37,7 @@
     self.catrel = catrel
     self.arch = arch
     self.osrel = osrel
-    self.pkgcache = pkgcache or rest.CachedPkgstats("pkgstats")
+    self.pkgcache = pkgcache or rest.CachedPkgstats("/home/web/pkgstats")
     self.rest_client = rest_client or rest.RestClient()
     self._catalog = None
 

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