# HG changeset patch # User David Douard # Date 1355827251 -3600 # Node ID c491f945f878aea473a3a7fafa0ffdbf6c793604 # Parent c261d9465e65aea6d5c65bb68f5521365ac377bb [ldapsource] keep python 2.5 compatibility (closes #2541602) diff -r c261d9465e65 -r c491f945f878 server/sources/ldapuser.py --- a/server/sources/ldapuser.py Tue Dec 18 10:42:11 2012 +0100 +++ b/server/sources/ldapuser.py Tue Dec 18 11:40:51 2012 +0100 @@ -19,7 +19,7 @@ this source is for now limited to a read-only CWUser source """ -from __future__ import division +from __future__ import division, with_statement from base64 import b64decode import ldap