summaryrefslogtreecommitdiff
path: root/packages/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/utils.py')
-rw-r--r--packages/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/utils.py b/packages/utils.py
index b8d1504d..6ec39483 100644
--- a/packages/utils.py
+++ b/packages/utils.py
@@ -410,7 +410,8 @@ def get_current_signoffs(repos):
def get_current_specifications(repos):
'''Returns a list of signoff specification objects for the given repos.'''
to_fetch = signoffs_id_query(SignoffSpecification, repos)
- return SignoffSpecification.objects.in_bulk(to_fetch).values()
+ return SignoffSpecification.objects.select_related('arch').in_bulk(
+ to_fetch).values()
def get_target_repo_map(repos):