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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Mar 25 19:47:16 CEST 2012


Revision: 17549
          http://gar.svn.sourceforge.net/gar/?rev=17549&view=rev
Author:   wahwah
Date:     2012-03-25 17:47:16 +0000 (Sun, 25 Mar 2012)
Log Message:
-----------
pkgdb: Removed unused DataSource class from models

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

Modified: csw/mgar/gar/v2/lib/python/database.py
===================================================================
--- csw/mgar/gar/v2/lib/python/database.py	2012-03-25 17:46:43 UTC (rev 17548)
+++ csw/mgar/gar/v2/lib/python/database.py	2012-03-25 17:47:16 UTC (rev 17549)
@@ -19,7 +19,6 @@
             m.CheckpkgErrorTag,
             m.CheckpkgOverride,
             m.CswConfig,
-            m.DataSource,
             m.Host,
             m.Maintainer,
             m.OsRelease,

Modified: csw/mgar/gar/v2/lib/python/models.py
===================================================================
--- csw/mgar/gar/v2/lib/python/models.py	2012-03-25 17:46:43 UTC (rev 17548)
+++ csw/mgar/gar/v2/lib/python/models.py	2012-03-25 17:47:16 UTC (rev 17549)
@@ -9,14 +9,6 @@
 from sqlobject import sqlbuilder
 import cPickle
 
-class DataSource(sqlobject.SQLObject):
-  """Represents: a /var/sadm/install/contents file, or CSW catalog.
-
-  - "filesystem"
-  - "catalog"
-  """
-  name = sqlobject.UnicodeCol(length=255, unique=True, notNone=True)
-
 class CatalogReleaseType(sqlobject.SQLObject):
   "Unstable, testing, stable."
   name = sqlobject.UnicodeCol(length=255, unique=True, notNone=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