diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-28 11:37:39 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-28 11:41:19 -0500 |
commit | d57696c8013d78f017972ae72efeeb441c954cb2 (patch) | |
tree | 5e9d9a70cda9a40b56dec08a1caf5b1e3e36edee /feeds.py | |
parent | 7dcdb0a31519c038e25436b49a60b9e54a41372b (diff) |
PyLint suggested cleanups
We had a bunch of extra imports, non-conventional variable names, spacing
issues, etc. that were relatively low-hanging fruit to clean up. Fix them
and make the code a bit cleaner in the process.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'feeds.py')
-rw-r--r-- | feeds.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,6 +1,5 @@ import datetime -from django.contrib.syndication.feeds import FeedDoesNotExist from django.contrib.syndication.views import Feed from django.db.models import Q from main.models import Arch, Repo, Package, News @@ -53,7 +52,7 @@ class PackageFeed(Feed): return item.last_update def item_categories(self, item): - return (item.repo.name,item.arch.name) + return (item.repo.name, item.arch.name) class NewsFeed(Feed): |