Skip to content

Commit 8a752f9

Browse files
authored
_unparseEntryRecord now handle OrderedDict
1 parent ec41070 commit 8a752f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/ldif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _unparseEntryRecord(self,entry):
150150
entry
151151
dictionary holding an entry
152152
"""
153-
for attr_type, values in sorted(entry.items()):
153+
for attr_type, values in entry.items():
154154
for attr_value in values:
155155
self._unparseAttrTypeandValue(attr_type,attr_value)
156156

0 commit comments

Comments
 (0)