mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Removing dead code
This commit is contained in:
parent
a0ef36727e
commit
373cc945c0
@ -166,14 +166,6 @@ class CommandManager(mitmproxy.types._CommandBase):
|
|||||||
for t, start, end in self.regex.scanString(cmdstr):
|
for t, start, end in self.regex.scanString(cmdstr):
|
||||||
parts.append(t[0])
|
parts.append(t[0])
|
||||||
|
|
||||||
# First item in parts has always to be the command
|
|
||||||
# so we remove any blank tokens from the start of it
|
|
||||||
# while True:
|
|
||||||
# if parts and parts[0].strip() == '':
|
|
||||||
# del parts[0]
|
|
||||||
# else:
|
|
||||||
# break
|
|
||||||
|
|
||||||
parse: typing.List[ParseResult] = []
|
parse: typing.List[ParseResult] = []
|
||||||
params: typing.List[type] = []
|
params: typing.List[type] = []
|
||||||
typ: typing.Type
|
typ: typing.Type
|
||||||
|
Loading…
Reference in New Issue
Block a user