mango r257 - in branches/django: . mango
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r257 - in branches/django: . mango
- Date: Tue, 24 Jun 2008 22:13:09 +0000 (UTC)
Author: ovitters
Date: Tue Jun 24 22:13:09 2008
New Revision: 257
URL: http://svn.gnome.org/viewvc/mango?rev=257&view=rev
Log:
* mango/views.py:Remove even more dead code.
Modified:
branches/django/ (props changed)
branches/django/ChangeLog
branches/django/mango/views.py
Modified: branches/django/mango/views.py
==============================================================================
--- branches/django/mango/views.py (original)
+++ branches/django/mango/views.py Tue Jun 24 22:13:09 2008
@@ -6,8 +6,6 @@
from django.shortcuts import get_object_or_404
import datetime
-import ldap
-import ldap.filter
import models
try:
@@ -113,10 +111,6 @@
def edit_user(request, user):
doc, pagenode = get_xmldoc('Update user %s' % user, request, 'updateuser')
- l = models.LdapUtil().handle
- if not l:
- return HttpResponseServerError('Cannot connect to LDAP?')
-
users = models.Users.search(Q(uid=user))
if len(users) != 1:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]