Commit 3c0d2286 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

document py3

parent 7c490726
......@@ -477,8 +477,7 @@ class Document(DocumentExtensibleTraversableMixin, XMLObject, UrlMixin,
tmp = {}
for match in rx_search.finditer(text):
group = match.group()
group_item_list = match.groupdict().items()
group_item_list.sort()
group_item_list = sorted(match.groupdict().items())
key = (group, tuple(group_item_list))
tmp[key] = None
for group, group_item_tuple in tmp.keys():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment