diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-04 10:43:02 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-04 10:43:02 -0500 |
commit | 20ebe658921c2ce78bf9a05116de045ee38f0820 (patch) | |
tree | 3bf139d6cc79377eabffcd3dbe7ce22d440d011b /packages | |
parent | 94f46acebf03652d7ad2ed504d4ce863d5cbd913 (diff) |
Fix signoff target repo mapping
I clearly should not have removed this code yesterday, otherwise
packages have their target repo matched to a testing one.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/utils.py b/packages/utils.py index 5240ae23..ddd822e4 100644 --- a/packages/utils.py +++ b/packages/utils.py @@ -313,6 +313,7 @@ def get_current_specifications(repos): def get_target_repo_map(pkgbases): package_repos = Package.objects.order_by().values_list( 'pkgbase', 'repo__name').filter( + repo__testing=False, repo__staging=False, pkgbase__in=pkgbases).distinct() return dict(package_repos) |