summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-05 06:00:29 +0200
committerDan McGee <dan@archlinux.org>2009-08-05 06:00:29 +0200
commitc3ecb485ae3eca5ba6dca96a22615dc11c6df7ee (patch)
treeba0091996202f6542e3c76aad870d474fc81fb92
parent17c18fa284a25bf210b4ab4f67c6859f3cdb7c2b (diff)
downloadarchweb-c3ecb485ae3eca5ba6dca96a22615dc11c6df7ee.tar.gz
archweb-c3ecb485ae3eca5ba6dca96a22615dc11c6df7ee.tar.xz
Whoops! Got to clear that dep list first
Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xscripts/reporead.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 1d0c061..624bf9a 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..