[Treepkg-commits] r380 - branches/treepkg-status/treepkg/info
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jul 26 15:50:50 CEST 2010
Author: bricks
Date: 2010-07-26 15:50:49 +0200 (Mon, 26 Jul 2010)
New Revision: 380
Modified:
branches/treepkg-status/treepkg/info/data.py
Log:
fixed last commit (db instead of sqlite3)
Modified: branches/treepkg-status/treepkg/info/data.py
===================================================================
--- branches/treepkg-status/treepkg/info/data.py 2010-07-26 13:46:19 UTC (rev 379)
+++ branches/treepkg-status/treepkg/info/data.py 2010-07-26 13:50:49 UTC (rev 380)
@@ -31,7 +31,7 @@
self.SELECT_PACKAGE_TMPL = """SELECT * FROM packages
WHERE filename = ?"""
self.file = file
- self.conn = sqlite3.connect(file)
+ self.conn = db.connect(file)
self.cursor = self.conn.cursor()
self.init_db()
More information about the Treepkg-commits
mailing list