summaryrefslogtreecommitdiffstats
path: root/feeds.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-28 11:37:39 -0500
committerDan McGee <dan@archlinux.org>2010-08-28 11:41:19 -0500
commitd57696c8013d78f017972ae72efeeb441c954cb2 (patch)
tree5e9d9a70cda9a40b56dec08a1caf5b1e3e36edee /feeds.py
parent7dcdb0a31519c038e25436b49a60b9e54a41372b (diff)
downloadarchweb-d57696c8013d78f017972ae72efeeb441c954cb2.tar.gz
archweb-d57696c8013d78f017972ae72efeeb441c954cb2.zip
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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/feeds.py b/feeds.py
index 05c00ca0..37aa6aaa 100644
--- a/feeds.py
+++ b/feeds.py
@@ -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):