[CalendarServer-changes] [7820] CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 21 16:22:55 PDT 2011
Revision: 7820
http://trac.macosforge.org/projects/calendarserver/changeset/7820
Author: sagen at apple.com
Date: 2011-07-21 16:22:54 -0700 (Thu, 21 Jul 2011)
Log Message:
-----------
Thanks, pyflakes!
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py 2011-07-21 22:31:40 UTC (rev 7819)
+++ CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py 2011-07-21 23:22:54 UTC (rev 7820)
@@ -328,7 +328,7 @@
self.log_debug("Authenticating %s" % (dn,))
try:
self.authLDAP.simple_bind_s(dn, password)
- except ldap.SERVER_DOWN, e:
+ except ldap.SERVER_DOWN:
self.log_debug("Lost connection to LDAP server. Retrying.")
self.authLDAP = self.createLDAPConnection()
self.authLDAP.simple_bind_s(dn, password)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110721/59ae93ce/attachment-0001.html>
More information about the calendarserver-changes
mailing list