From 4d2fdec00cbab889dc9c2f79fcf0da114c167caa Mon Sep 17 00:00:00 2001 From: stroeder Date: Sat, 19 Sep 2015 13:41:01 +0000 Subject: [PATCH] Removed debug print statements --- Lib/ldap/controls/deref.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/ldap/controls/deref.py b/Lib/ldap/controls/deref.py index c8cef79..02c68b7 100644 --- a/Lib/ldap/controls/deref.py +++ b/Lib/ldap/controls/deref.py @@ -5,7 +5,7 @@ See http://www.python-ldap.org/ for project details. -$Id: deref.py,v 1.1 2015/09/19 13:38:30 stroeder Exp $ +$Id: deref.py,v 1.2 2015/09/19 13:41:01 stroeder Exp $ """ __all__ = [ @@ -106,7 +106,6 @@ def encodeControlValue(self): def decodeControlValue(self,encodedControlValue): decodedValue,_ = decoder.decode(encodedControlValue,asn1Spec=DerefResultControlValue()) - print decodedValue.prettyPrint() self.derefRes = {} for deref_res in decodedValue: deref_attr,deref_val,deref_vals = deref_res @@ -118,8 +117,6 @@ def decodeControlValue(self,encodedControlValue): self.derefRes[str(deref_attr)].append((str(deref_val),partial_attrs_dict)) except KeyError: self.derefRes[str(deref_attr)] = [(str(deref_val),partial_attrs_dict)] - import pprint - pprint.pprint(self.derefRes) KNOWN_RESPONSE_CONTROLS[DereferenceControl.controlType] = DereferenceControl