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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Dec 13 01:46:45 CET 2010


Revision: 11897
          http://gar.svn.sourceforge.net/gar/?rev=11897&view=rev
Author:   wahwah
Date:     2010-12-13 00:46:45 +0000 (Mon, 13 Dec 2010)

Log Message:
-----------
checkpkg: Don't remove overrides when cleaning

When re-running checkpkg against a package that was already in the database,
don't remove the overrides from the db.

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

Modified: csw/mgar/gar/v2/lib/python/models.py
===================================================================
--- csw/mgar/gar/v2/lib/python/models.py	2010-12-13 00:46:22 UTC (rev 11896)
+++ csw/mgar/gar/v2/lib/python/models.py	2010-12-13 00:46:45 UTC (rev 11897)
@@ -151,10 +151,6 @@
             CheckpkgErrorTag.q.os_rel==os_rel,
             CheckpkgErrorTag.q.arch==arch,
             CheckpkgErrorTag.q.catrel==catrel))))
-    sqlobject.sqlhub.processConnection.query(
-        sqlobject.sqlhub.processConnection.sqlrepr(sqlbuilder.Delete(
-          CheckpkgOverride.sqlmeta.table,
-          CheckpkgOverride.q.srv4_file==self)))
 
 
 class CheckpkgErrorTagMixin(object):


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