summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-07 11:03:52 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-07 11:03:52 -0400
commit631417bc28a1ba3a5e478b9fc9b4e51ea49711bb (patch)
tree1910297c5dea599e09905e7ae696345b25aab078
parenta2c25fa12adb28eec511286941c1d3e8a88f56ee (diff)
remove senseless code
-rw-r--r--devel/views.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/devel/views.py b/devel/views.py
index df37e260..faa41bbf 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -7,11 +7,6 @@ from archweb_dev.main.models import Arch, Repo
from archweb_dev.main.models import UserProfile, News, Donor, Mirror
def index(request):
- try:
- thismaint = User.objects.get(username=request.user.username)
- except User.DoesNotExist:
- # weird, we don't have a maintainer record for this logged-in user
- thismaint = None
# get a list of incomplete package todo lists
todos = Todolist.objects.get_incomplete()