aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-09-23 14:39:34 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-09-23 14:39:34 +0300
commite93bb75de771b099307a722f746da4c6238dcb3e (patch)
tree3727c4b5915a7e66b5e9e858ad60adeceba51d6d
parentSorting maintainers by many attributes (diff)
downloadgentoo-packages-e93bb75de771b099307a722f746da4c6238dcb3e.tar.gz
gentoo-packages-e93bb75de771b099307a722f746da4c6238dcb3e.tar.bz2
gentoo-packages-e93bb75de771b099307a722f746da4c6238dcb3e.zip
Deleted unneeded code
-rw-r--r--gpackages/apps/generic/views.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gpackages/apps/generic/views.py b/gpackages/apps/generic/views.py
index 910d3a5..e56eb74 100644
--- a/gpackages/apps/generic/views.py
+++ b/gpackages/apps/generic/views.py
@@ -7,7 +7,6 @@ from django.http import Http404
from django.core.urlresolvers import reverse, NoReverseMatch
from django.utils.html import mark_safe
from string import Template
-from collections import namedtuple
import re
class ContextView(object):
@@ -74,8 +73,6 @@ def dynamic_order(order_attr, allowed_list, reverse = None):
order = order[1:]
return order
-OrderClass = namedtuple('OrderClass', ['active', 'link', 'reverse'])
-
class OrderClass(object):
__slots__ = ('active', 'link', 'reverse')