[csw-devel] SF.net SVN: gar:[17287] csw/mgar/gar/v2/lib/python/package_stats.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Mar 4 13:29:39 CET 2012
Revision: 17287
http://gar.svn.sourceforge.net/gar/?rev=17287&view=rev
Author: wahwah
Date: 2012-03-04 12:29:39 +0000 (Sun, 04 Mar 2012)
Log Message:
-----------
pkgdb: A few debug logging statements
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/package_stats.py
Modified: csw/mgar/gar/v2/lib/python/package_stats.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_stats.py 2012-03-04 12:29:06 UTC (rev 17286)
+++ csw/mgar/gar/v2/lib/python/package_stats.py 2012-03-04 12:29:39 UTC (rev 17287)
@@ -101,10 +101,15 @@
"""
pkg_stats = self.GetDbObject()
if not pkg_stats:
+ logging.debug("Could not get db object for %s", self.GetMd5sum())
return False
if pkg_stats.stats_version != PACKAGE_STATS_VERSION:
+ logging.debug("Stats version mismatch: package=%s code=%s",
+ pkg_stats.stats_version,
+ PACKAGE_STATS_VERSION)
return False
elif pkg_stats.data_obj is None:
+ logging.debug("Could not find data object for %s", self.GetMd5sum())
return False
else:
return 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