mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Py3: Use global next() instead of iterator method
This commit is contained in:
parent
1e1b4fd88d
commit
efb0f7133c
@ -6,7 +6,7 @@ import tutils
|
||||
|
||||
|
||||
def parse_request(s):
|
||||
return language.parse_pathoc(s).next()
|
||||
return next(language.parse_pathoc(s))
|
||||
|
||||
|
||||
class TestWebsocketFrame:
|
||||
|
Loading…
Reference in New Issue
Block a user