summaryrefslogtreecommitdiffstats
path: root/tupkg/update
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-02-23 06:31:39 +0100
committerpjmattal <pjmattal>2005-02-23 06:31:39 +0100
commit256f0ff0cf91e0c32cfbbbe64e2b9cd6f94f18d0 (patch)
tree4a7385f4a4e22ff2c0c2ae57c63f78f4f5679258 /tupkg/update
parenteb000511dac404faca0a9e81432a2a3395f50124 (diff)
downloadaur-256f0ff0cf91e0c32cfbbbe64e2b9cd6f94f18d0.tar.gz
aur-256f0ff0cf91e0c32cfbbbe64e2b9cd6f94f18d0.tar.xz
fixed minor bugs
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 b700177d..8fe31420 100755
--- a/tupkg/update/tupkgupdate
+++ b/tupkg/update/tupkgupdate
@@ -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) + ")")