From 86ee7b1c6b0ba6153b1ee1703758cb0a038c58f6 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Tue, 16 Jun 2015 18:06:49 +0200 Subject: gendummydata.py: Remove CategoryID from dummy data Signed-off-by: Marcel Korpel Signed-off-by: Lukas Fleischer --- schema/gendummydata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schema/gendummydata.py b/schema/gendummydata.py index 7b18a50..9dd2f45 100755 --- a/schema/gendummydata.py +++ b/schema/gendummydata.py @@ -202,9 +202,9 @@ for p in list(seen_pkgs.keys()): uuid = genUID() # the submitter/user - s = ("INSERT INTO PackageBases (ID, Name, CategoryID, SubmittedTS, " - "SubmitterUID, MaintainerUID, PackagerUID) VALUES (%d, '%s', %d, %d, %d, %s, %s);\n") - s = s % (seen_pkgs[p], p, genCategory(), NOW, uuid, muid, puid) + s = ("INSERT INTO PackageBases (ID, Name, SubmittedTS, " + "SubmitterUID, MaintainerUID, PackagerUID) VALUES (%d, '%s', %d, %d, %s, %s);\n") + s = s % (seen_pkgs[p], p, NOW, uuid, muid, puid) out.write(s) s = ("INSERT INTO Packages (ID, PackageBaseID, Name, Version) VALUES " -- cgit v1.2.3-70-g09d2