diff options
author | Sean Finney <seanius@debian.org> | 2008-09-03 01:25:28 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-09-03 01:25:28 +0200 |
commit | c3928ce9083a4e1049d13a6f82610d25c038d5b8 (patch) | |
tree | 7b947bd93bc4ad7fca5761083a7262de7aba307d /patchtracker/DB.py | |
parent | 476e68d24d216793aea3d6501a1b30d7ae328941 (diff) | |
download | patch-tracker-c3928ce9083a4e1049d13a6f82610d25c038d5b8.tar.gz |
initial, slightly stupid, maintainer support in database
Diffstat (limited to 'patchtracker/DB.py')
-rw-r--r-- | patchtracker/DB.py | 6 |
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 (?)" |