fixed obvious tupkgupdate bug introduced by other fix

This commit is contained in:
pjmattal 2005-02-23 05:39:18 +00:00
parent 256f0ff0cf
commit 4e6a07e84f

View file

@ -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()