Python 3.x compatibility fix
Tuple unpacking removed as of 3.0, see PEP 3113.
This commit is contained in:
parent
f8e89e8ac5
commit
c54e09b521
|
@ -882,7 +882,7 @@ class httpretty(HttpBaseClass):
|
|||
def match_uriinfo(cls, info):
|
||||
items = sorted(
|
||||
cls._entries.items(),
|
||||
key=lambda (matcher, _): matcher.priority,
|
||||
key=lambda matcher_entries: matcher_entries[0].priority,
|
||||
reverse=True,
|
||||
)
|
||||
for matcher, value in items:
|
||||
|
|
Loading…
Reference in New Issue