summaryrefslogtreecommitdiff
path: root/patchtracker/DB.py
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-09-03 01:25:28 +0200
committerSean Finney <seanius@debian.org>2008-09-03 01:25:28 +0200
commitc3928ce9083a4e1049d13a6f82610d25c038d5b8 (patch)
tree7b947bd93bc4ad7fca5761083a7262de7aba307d /patchtracker/DB.py
parent476e68d24d216793aea3d6501a1b30d7ae328941 (diff)
downloadpatch-tracker-c3928ce9083a4e1049d13a6f82610d25c038d5b8.tar.gz
initial, slightly stupid, maintainer support in database
Diffstat (limited to 'patchtracker/DB.py')
-rw-r--r--patchtracker/DB.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/patchtracker/DB.py b/patchtracker/DB.py
index da0838a..082cce0 100644
--- a/patchtracker/DB.py
+++ b/patchtracker/DB.py
@@ -70,11 +70,11 @@ class PatchTrackerDB:
cursor = self.db.cursor()
#print "creating new record for",srcpkg
q = "INSERT OR IGNORE INTO packages \
- (name,format,loc,version,diffgz_name,diffgz_size,diffgz_md5sum) \
- VALUES (?,?,?,?,?,?,?)"
+ (name,format,loc,version,diffgz_name,diffgz_size,diffgz_md5sum,maintainer,uploaders) \
+ VALUES (?,?,?,?,?,?,?,?,?)"
cursor.execute(q, (srcpkg.name,srcpkg.format,srcpkg.loc,
srcpkg.version,srcpkg.diffgz_name,srcpkg.diffgz_size,
- srcpkg.diffgz_md5sum))
+ srcpkg.diffgz_md5sum,srcpkg.maintainer,srcpkg.uploaders))
def saveSuite(self, suite):
q = "INSERT INTO suites (name) VALUES (?)"