mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
Py3: Use global next() instead of iterator method
This commit is contained in:
committed by
Maximilian Hils
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:
|
||||
|
||||
Reference in New Issue
Block a user