summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reporead.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 1d0c0615..624bf9ae 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -164,6 +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()
if 'depends' in repopkg.__dict__:
for y in repopkg.depends:
# make sure we aren't adding self depends..