mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
fixed minor bugs
This commit is contained in:
parent
eb000511da
commit
256f0ff0cf
3 changed files with 9 additions and 2 deletions
|
@ -122,7 +122,7 @@ class PackageDatabase:
|
|||
"VALUES (" + str(id) + ", '" + source + "')")
|
||||
# PackageDepends
|
||||
for dep in package.depends:
|
||||
depid = self.lookupOrDummy(dep, locationId)
|
||||
depid = self.lookupOrDummy(dep)
|
||||
q.execute("INSERT INTO PackageDepends (PackageID, DepPkgID) " +
|
||||
"VALUES (" + str(id) + ", " + str(depid) + ")")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue