summaryrefslogtreecommitdiffstats
path: root/tupkg/update
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-02-23 06:39:18 +0100
committerpjmattal <pjmattal>2005-02-23 06:39:18 +0100
commit4e6a07e84fda1c53fc509e233f8aca9ee1cd5042 (patch)
treecc5681b70573789425cc46268e23555608afe215 /tupkg/update
parent256f0ff0cf91e0c32cfbbbe64e2b9cd6f94f18d0 (diff)
downloadaur-4e6a07e84fda1c53fc509e233f8aca9ee1cd5042.tar.gz
aur-4e6a07e84fda1c53fc509e233f8aca9ee1cd5042.tar.xz
fixed obvious tupkgupdate bug introduced by other fix
Diffstat (limited to 'tupkg/update')
-rwxr-xr-xtupkg/update/tupkgupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/tupkg/update/tupkgupdate b/tupkg/update/tupkgupdate
index 8fe31420..021c1e13 100755
--- a/tupkg/update/tupkgupdate
+++ b/tupkg/update/tupkgupdate
@@ -105,7 +105,7 @@ class PackageDatabase:
"(Name, Description, LocationID, DummyPkg) " +
"VALUES ('" +
MySQLdb.escape_string(packagename) + "', '" +
- MySQLdb.escape_string("A dummy package") + "', 1)")
+ MySQLdb.escape_string("A dummy package") + "', 1, 1)")
return self.lookup(packagename)
def insertNewInfo(self, package, id, locationId):
q = self.cursor()