Skip to content

Commit

Permalink
Removed debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Sep 19, 2015
1 parent 96525a0 commit 4d2fdec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/ldap/controls/deref.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 4d2fdec

Please sign in to comment.