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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Apr 19 22:53:05 CEST 2013


Revision: 20821
          http://gar.svn.sourceforge.net/gar/?rev=20821&view=rev
Author:   wahwah
Date:     2013-04-19 20:53:04 +0000 (Fri, 19 Apr 2013)
Log Message:
-----------
checkpkg: Bugfix: remove unused imports

I've removed all calls to the library, but not the corresponding imports.

But it did work for me! How? I still had the checkpkg.pyc file which Python
accepted instead of the source .py file.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/checkpkg2.py
    csw/mgar/gar/v2/lib/python/package_checks.py
    csw/mgar/gar/v2/lib/python/package_stats.py

Modified: csw/mgar/gar/v2/lib/python/checkpkg2.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg2.py	2013-04-19 14:58:41 UTC (rev 20820)
+++ csw/mgar/gar/v2/lib/python/checkpkg2.py	2013-04-19 20:53:04 UTC (rev 20821)
@@ -16,7 +16,6 @@
 import common_constants
 import package_stats
 import struct_util
-import checkpkg
 import checkpkg_lib
 import overrides
 import models

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2013-04-19 14:58:41 UTC (rev 20820)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2013-04-19 20:53:04 UTC (rev 20821)
@@ -19,7 +19,6 @@
 import re
 import operator
 import os
-import checkpkg
 import checkpkg_lib
 import opencsw
 import pprint

Modified: csw/mgar/gar/v2/lib/python/package_stats.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_stats.py	2013-04-19 14:58:41 UTC (rev 20820)
+++ csw/mgar/gar/v2/lib/python/package_stats.py	2013-04-19 20:53:04 UTC (rev 20821)
@@ -13,7 +13,6 @@
 import sqlobject
 
 import catalog
-import checkpkg
 import ldd_emul
 import database
 import inspective_package

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