[csw-devel] SF.net SVN: gar:[11898] csw/mgar/gar/v2
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Dec 13 01:47:18 CET 2010
Revision: 11898
http://gar.svn.sourceforge.net/gar/?rev=11898&view=rev
Author: wahwah
Date: 2010-12-13 00:47:18 +0000 (Mon, 13 Dec 2010)
Log Message:
-----------
checkpkg_inspect_stats: Adding a missing import
Also, adding a line which establishes a connection to the database.
Modified Paths:
--------------
csw/mgar/gar/v2/bin/checkpkg_inspect_stats.py
csw/mgar/gar/v2/lib/python/checkpkg.py
Modified: csw/mgar/gar/v2/bin/checkpkg_inspect_stats.py
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg_inspect_stats.py 2010-12-13 00:46:45 UTC (rev 11897)
+++ csw/mgar/gar/v2/bin/checkpkg_inspect_stats.py 2010-12-13 00:47:18 UTC (rev 11898)
@@ -18,8 +18,10 @@
sys.path.append(os.path.join(*path_list))
import checkpkg
import opencsw
+import configuration
def main():
+ configuration.SetUpSqlobjectConnection()
usage = "Usage: %prog [ options ] file | md5 [ file | md5 [ ... ] ]"
parser = optparse.OptionParser(usage)
parser.add_option("-d", "--debug", dest="debug",
Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py 2010-12-13 00:46:45 UTC (rev 11897)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py 2010-12-13 00:47:18 UTC (rev 11898)
@@ -17,6 +17,7 @@
import inspective_package
import models as m
import common_constants
+import package_stats
DO_NOT_REPORT_SURPLUS = set([u"CSWcommon", u"CSWcswclassutils", u"CSWisaexec"])
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