mango r256 - in branches/django: . mango
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r256 - in branches/django: . mango
- Date: Tue, 24 Jun 2008 22:13:05 +0000 (UTC)
Author: ovitters
Date: Tue Jun 24 22:13:05 2008
New Revision: 256
URL: http://svn.gnome.org/viewvc/mango?rev=256&view=rev
Log:
* mango/views.py: Remove some 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:05 2008
@@ -98,10 +98,6 @@
def list_users(request):
doc, pagenode = get_xmldoc('List Users', request, 'listusers')
- l = models.LdapUtil().handle
- if not l:
- return HttpResponseServerError('Cannot connect to LDAP?')
-
queryset = models.Users.search(attrlist=('uid', 'cn', 'mail'))
page = setup_xml_paginator(request, pagenode, queryset)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]