From: Michael Tremer Date: Thu, 9 Jan 2020 11:21:43 +0000 (+0000) Subject: accounts: Do not log a warning when the server did not pagee results X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=598e658cc5f499cb5cdd9994955c511b5a159fd6;p=ipfire.org.git accounts: Do not log a warning when the server did not pagee results It looks like when there are only few responses this does not get activated and we do not need to log a warning. Signed-off-by: Michael Tremer --- diff --git a/src/backend/accounts.py b/src/backend/accounts.py index b1160ac2..46dc9887 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -244,7 +244,6 @@ class Accounts(Object): if c.controlType == ldap.controls.SimplePagedResultsControl.controlType] if not controls: - logging.warning("The server ignores RFC 2696 control") break # Set the cookie for more results