summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-04 23:00:29 -0500
committerDan McGee <dan@archlinux.org>2009-08-04 23:00:29 -0500
commitc3ecb485ae3eca5ba6dca96a22615dc11c6df7ee (patch)
treeba0091996202f6542e3c76aad870d474fc81fb92 /scripts
parent17c18fa284a25bf210b4ab4f67c6859f3cdb7c2b (diff)
Whoops! Got to clear that dep list first
Signed-off-by: Dan McGee <dan@archlinux.org>
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..