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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Jan 10 09:59:50 CET 2011


Revision: 12486
          http://gar.svn.sourceforge.net/gar/?rev=12486&view=rev
Author:   wahwah
Date:     2011-01-10 08:59:50 +0000 (Mon, 10 Jan 2011)

Log Message:
-----------
checkpkg: bugfix: Don't reset registered checks

If registered checks are cleared inside Run(), no checks are done in result.

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

Modified: csw/mgar/gar/v2/lib/python/checkpkg_lib.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2011-01-10 08:42:00 UTC (rev 12485)
+++ csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2011-01-10 08:59:50 UTC (rev 12486)
@@ -141,11 +141,11 @@
     self.catrel = catrel
     self.show_progress = show_progress
     self._ResetState()
+    self.individual_checks = []
+    self.set_checks = []
 
   def _ResetState(self):
     self.errors = []
-    self.individual_checks = []
-    self.set_checks = []
     self.packages = []
 
   def GetProgressBar(self):


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