summaryrefslogtreecommitdiffstats
path: root/aurweb
diff options
context:
space:
mode:
Diffstat (limited to 'aurweb')
-rwxr-xr-xaurweb/git/serve.py5
-rwxr-xr-xaurweb/git/update.py5
2 files changed, 6 insertions, 4 deletions
diff --git a/aurweb/git/serve.py b/aurweb/git/serve.py
index 44cce75d..3eef26a7 100755
--- a/aurweb/git/serve.py
+++ b/aurweb/git/serve.py
@@ -65,8 +65,9 @@ def create_pkgbase(pkgbase, user):
now = int(time.time())
cur = conn.execute("INSERT INTO PackageBases (Name, SubmittedTS, " +
- "ModifiedTS, SubmitterUID, MaintainerUID) VALUES " +
- "(?, ?, ?, ?, ?)", [pkgbase, now, now, userid, userid])
+ "ModifiedTS, SubmitterUID, MaintainerUID, " +
+ "FlaggerComment) VALUES (?, ?, ?, ?, ?, '')",
+ [pkgbase, now, now, userid, userid])
pkgbase_id = cur.lastrowid
cur = conn.execute("INSERT INTO PackageNotifications " +
diff --git a/aurweb/git/update.py b/aurweb/git/update.py
index 09a57ef0..c9a98d07 100755
--- a/aurweb/git/update.py
+++ b/aurweb/git/update.py
@@ -61,8 +61,9 @@ def create_pkgbase(conn, pkgbase, user):
now = int(time.time())
cur = conn.execute("INSERT INTO PackageBases (Name, SubmittedTS, " +
- "ModifiedTS, SubmitterUID, MaintainerUID) VALUES " +
- "(?, ?, ?, ?, ?)", [pkgbase, now, now, userid, userid])
+ "ModifiedTS, SubmitterUID, MaintainerUID, " +
+ "FlaggerComment) VALUES (?, ?, ?, ?, ?, '')",
+ [pkgbase, now, now, userid, userid])
pkgbase_id = cur.lastrowid
cur = conn.execute("INSERT INTO PackageNotifications " +