diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 11:03:52 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 11:03:52 -0400 |
commit | 631417bc28a1ba3a5e478b9fc9b4e51ea49711bb (patch) | |
tree | 1910297c5dea599e09905e7ae696345b25aab078 /devel | |
parent | a2c25fa12adb28eec511286941c1d3e8a88f56ee (diff) |
remove senseless code
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 5 |
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() |