# HG changeset patch # User Bjoern Ricks # Date 1280152249 0 # Node ID 414c77061d5a40db4cb5c057421ece2f723f591d # Parent eac71f06603702da69a5a33aa650e421335eb1ed fixed last commit (db instead of sqlite3) diff -r eac71f066037 -r 414c77061d5a treepkg/info/data.py --- 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()