diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-15 01:40:48 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-15 01:40:48 -0400 |
commit | cdff1a234be0d625c5c824707dbae32ffa6a76dd (patch) | |
tree | a9e029f2a98ad72e64d9e09a922ec39ab502a75b /devel | |
parent | f18a6c809f45e71175ced6050d7e57bf4e7e89ba (diff) | |
parent | 90873ef7de4bf842fbf6971836a373c555cfcbaa (diff) |
Merge branch 'master-nomake'
Diffstat (limited to 'devel')
-rw-r--r-- | devel/utils.py | 2 | ||||
-rw-r--r-- | devel/views.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/devel/utils.py b/devel/utils.py index 7dd64972..eaa7d07e 100644 --- a/devel/utils.py +++ b/devel/utils.py @@ -10,7 +10,7 @@ from main.utils import cache_function from main.models import Package from packages.models import PackageRelation -@cache_function(300) +@cache_function(283) def get_annotated_maintainers(): maintainers = User.objects.filter(is_active=True).order_by( 'first_name', 'last_name') diff --git a/devel/views.py b/devel/views.py index 92cb098e..66f6a965 100644 --- a/devel/views.py +++ b/devel/views.py @@ -197,6 +197,7 @@ def report(request, report_name, username=None): maints = User.objects.filter(id__in=PackageRelation.objects.filter( type=PackageRelation.MAINTAINER).values('user')) + packages = report.packages(packages, username) arches = {pkg.arch for pkg in packages} repos = {pkg.repo for pkg in packages} context = { @@ -204,7 +205,7 @@ def report(request, report_name, username=None): 'title': report.description, 'report': report, 'maintainer': user, - 'packages': report.packages(packages, username), + 'packages': packages, 'arches': sorted(arches), 'repos': sorted(repos), 'column_names': report.names, |