Skip to content

Commit

Permalink
removed setting class attribute result_code in SSSResponseControl.dec…
Browse files Browse the repository at this point in the history
…odeControlValue() and VLVResponseControl.decodeControlValue
  • Loading branch information
stroeder authored and Petr Viktorin committed Nov 22, 2017
1 parent b1485d6 commit f9a910d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Lib/ldap/controls/sss.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,5 @@ def decodeControlValue(self, encoded):
# backward compability class attributes
self.result = self.sortResult
self.attribute_type_error = self.attributeType
# not sure whether to keep this
self.result_code = sort_result.prettyPrint()

KNOWN_RESPONSE_CONTROLS[SSSResponseControl.controlType] = SSSResponseControl
2 changes: 0 additions & 2 deletions Lib/ldap/controls/vlv.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,5 @@ def decodeControlValue(self,encoded):
self.content_count = self.contentCount
self.result = self.virtualListViewResult
self.context_id = self.contextID
# not sure whether to keep this
self.result_code = virtual_list_view_result.prettyPrint()

KNOWN_RESPONSE_CONTROLS[VLVResponseControl.controlType] = VLVResponseControl

0 comments on commit f9a910d

Please sign in to comment.