Skip to content

Commit

Permalink
parse_change_records(): version is Integer
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Jul 17, 2016
1 parent 854c5d8 commit 9ab2919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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.93 2016/07/17 16:06:19 stroeder Exp $
$Id: ldif.py,v 1.94 2016/07/17 16:11:25 stroeder Exp $
Python compability note:
Tested with Python 2.0+, but should work with Python 1.5.2+.
Expand Down Expand Up @@ -438,7 +438,7 @@ def parse_change_records(self):
self.changetype_counter = {}
k,v = next_key_and_value()
if k=='version':
self.version = v
self.version = int(v)
k,v = next_key_and_value()
if k==v==None:
k,v = next_key_and_value()
Expand Down

0 comments on commit 9ab2919

Please sign in to comment.