Skip to content

Commit

Permalink
Prefer method name handle_modify()
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Oct 24, 2015
1 parent c6b18c7 commit b8844cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/ldif.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
See http://www.python-ldap.org/ for details.
$Id: ldif.py,v 1.86 2015/10/24 15:50:00 stroeder Exp $
$Id: ldif.py,v 1.87 2015/10/24 16:12:31 stroeder Exp $
Python compability note:
Tested with Python 2.0+, but should work with Python 1.5.2+.
Expand Down Expand Up @@ -391,7 +391,7 @@ def parse(self):
"""
return self.parse_entry_records() # parse()

def handle_change_modify(self,dn,modops,controls=None):
def handle_modify(self,dn,modops,controls=None):
"""
Process a single LDIF record representing a single modify operation.
This method should be implemented by applications using LDIFParser.
Expand Down Expand Up @@ -467,7 +467,7 @@ def parse_change_records(self):

if modops:
# append entry to result list
self.handle_change_modify(dn,modops,controls)
self.handle_modify(dn,modops,controls)

else:

Expand Down

0 comments on commit b8844cb

Please sign in to comment.