summaryrefslogtreecommitdiffstats
path: root/devel/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-26 19:33:28 +0200
committerDan McGee <dan@archlinux.org>2012-03-26 19:33:28 +0200
commit611e30172ae8db58fc2f6146fd1bee428e55ea6a (patch)
tree0e4630d36639d6f6f25e861803d35f48301de672 /devel/management
parent493092f88f03ae7ec385f76abeeb51516ff888e3 (diff)
downloadarchweb-611e30172ae8db58fc2f6146fd1bee428e55ea6a.tar.gz
archweb-611e30172ae8db58fc2f6146fd1bee428e55ea6a.tar.xz
Rename 'packagedepend_set' attribute to 'depends'
We do this for every other related package attribute, so do it here too. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management')
-rw-r--r--devel/management/commands/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py
index c5a2ece..fd8e397 100644
--- a/devel/management/commands/reporead.py
+++ b/devel/management/commands/reporead.py
@@ -229,7 +229,7 @@ def populate_pkg(dbpkg, repopkg, force=False, timestamp=None):
populate_files(dbpkg, repopkg, force=force)
- dbpkg.packagedepend_set.all().delete()
+ dbpkg.depends.all().delete()
deps = [create_depend(dbpkg, y) for y in repopkg.depends]
deps += [create_depend(dbpkg, y, True) for y in repopkg.optdepends]
PackageDepend.objects.bulk_create(deps)