diff options
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 (?)" |