summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-04-11 12:00:11 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-04-11 12:00:11 +0100
commit898a4926973c57b341ffdcc48ae30df173436a38 (patch)
tree97467ec8458f99b27fc2bbf7a465f284d07e9e18
parenta44f887e6609d46f39c6f4266a175dce1671d2a0 (diff)
downloadpykolab-898a4926973c57b341ffdcc48ae30df173436a38.tar.gz
Fix to conform to my own indentation rules
Need to pass 'self' as well
-rw-r--r--pykolab/auth/ldap/__init__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index d1895d2..162c266 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -50,9 +50,14 @@ class SimplePagedResultsControl(ldap.controls.SimplePagedResultsControl):
def __init__(self, page_size=0, cookie=''):
if version.StrictVersion('2.4.0') <= version.StrictVersion(ldap.__version__):
- ldap.controls.SimplePagedResultsControl.__init__(self, size=page_size, cookie=cookie)
+ ldap.controls.SimplePagedResultsControl.__init__(
+ self,
+ size=page_size,
+ cookie=cookie
+ )
else:
ldap.controls.SimplePagedResultsControl.__init__(
+ self,
LDAP_CONTROL_PAGED_RESULTS,
critical,
(page_size, '')