summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 624bf9ae..f884262a 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -164,7 +164,7 @@ def populate_pkg(dbpkg, repopkg, timestamp=None):
# files are not in the repo.db.tar.gz
#for x in repopkg.files:
# dbpkg.packagefile_set.create(path=x)
- pkg.packagedepend_set.all().delete()
+ dbpkg.packagedepend_set.all().delete()
if 'depends' in repopkg.__dict__:
for y in repopkg.depends:
# make sure we aren't adding self depends..