changeset 420:414c77061d5a treepkg-status

fixed last commit (db instead of sqlite3)
author Bjoern Ricks <bricks@intevation.de>
date Mon, 26 Jul 2010 13:50:49 +0000
parents eac71f066037
children c7f4da26f1d4
files treepkg/info/data.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/info/data.py	Mon Jul 26 13:46:19 2010 +0000
+++ b/treepkg/info/data.py	Mon Jul 26 13:50:49 2010 +0000
@@ -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()
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)