[csw-devel] SF.net SVN: gar:[12026] csw/mgar/gar/v2/lib/python/database.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Dec 20 12:46:35 CET 2010
Revision: 12026
http://gar.svn.sourceforge.net/gar/?rev=12026&view=rev
Author: wahwah
Date: 2010-12-20 11:46:35 +0000 (Mon, 20 Dec 2010)
Log Message:
-----------
checkpkg: Log database schema number in the debug mode
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/database.py
Modified: csw/mgar/gar/v2/lib/python/database.py
===================================================================
--- csw/mgar/gar/v2/lib/python/database.py 2010-12-20 11:43:16 UTC (rev 12025)
+++ csw/mgar/gar/v2/lib/python/database.py 2010-12-20 11:46:35 UTC (rev 12026)
@@ -69,6 +69,9 @@
def _CheckAndMaybeFixSchema(self, auto_fix):
ldm = LocalDatabaseManager()
+ logging.debug("Database schema version: %s, application expects: %s",
+ ldm.GetDatabaseSchemaVersion(),
+ DB_SCHEMA_VERSION)
if not ldm.IsDatabaseGoodSchema():
if auto_fix:
logging.warning("Old database schema detected.")
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