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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jul 6 10:36:38 CEST 2010


Revision: 10455
          http://gar.svn.sourceforge.net/gar/?rev=10455&view=rev
Author:   wahwah
Date:     2010-07-06 08:36:37 +0000 (Tue, 06 Jul 2010)

Log Message:
-----------
mGAR v2: checkpkg, a bugfix for the database directory check.

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

Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py	2010-07-06 08:25:10 UTC (rev 10454)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py	2010-07-06 08:36:37 UTC (rev 10455)
@@ -288,7 +288,7 @@
     if not os.path.exists(db_path):
       logging.info("Building the  cache database %s.", self.system_pkgmap_files)
       logging.info("The cache will be kept in %s.", db_path)
-      if not os.path.exists(CHECKPKG_DIR):
+      if not os.path.exists(checkpkg_dir):
         logging.debug("Creating %s", checkpkg_dir)
         os.mkdir(checkpkg_dir)
       need_to_create_tables = True


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