diff options
Diffstat (limited to 'public/utils.py')
-rw-r--r-- | public/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/utils.py b/public/utils.py index bf74881a..c2838212 100644 --- a/public/utils.py +++ b/public/utils.py @@ -49,6 +49,10 @@ class RecentUpdate(object): if package.arch not in arches and not arches.add(package.arch): yield PackageStandin(package) + def __unicode__(self): + return "RecentUpdate '%s %s' <%d packages>" % ( + self.pkgbase, self.version, len(self.packages)) + @cache_function(62) def get_recent_updates(number=15, testing=True, staging=False): repos = Repo.objects.all() |