From 611e30172ae8db58fc2f6146fd1bee428e55ea6a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 26 Mar 2012 12:33:28 -0500 Subject: 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 --- devel/management/commands/reporead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index c5a2ece5..fd8e3979 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) -- cgit v1.2.3-54-g00ecf