mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Removed assignments to unused variables
This commit is contained in:
parent
b1dc418a53
commit
82245298f4
@ -914,7 +914,6 @@ class BodyPile(urwid.Pile):
|
|||||||
if len(size)==2:
|
if len(size)==2:
|
||||||
item_rows = self.get_item_rows( size, focus=True )
|
item_rows = self.get_item_rows( size, focus=True )
|
||||||
i = self.widget_list.index(self.focus_item)
|
i = self.widget_list.index(self.focus_item)
|
||||||
f, height = self.item_types[i]
|
|
||||||
tsize = self.get_item_size(size,i,True,item_rows)
|
tsize = self.get_item_size(size,i,True,item_rows)
|
||||||
return self.focus_item.keypress( tsize, key )
|
return self.focus_item.keypress( tsize, key )
|
||||||
|
|
||||||
@ -1080,8 +1079,6 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
for i in content.split("--" + boundary):
|
for i in content.split("--" + boundary):
|
||||||
parts = i.splitlines()
|
parts = i.splitlines()
|
||||||
if len(parts) > 1 and parts[0][0:2] != "--":
|
if len(parts) > 1 and parts[0][0:2] != "--":
|
||||||
saw_clrf = False
|
|
||||||
data = []
|
|
||||||
match = rx.search(parts[1])
|
match = rx.search(parts[1])
|
||||||
if match:
|
if match:
|
||||||
keys.append(match.group(1) + ":")
|
keys.append(match.group(1) + ":")
|
||||||
|
Loading…
Reference in New Issue
Block a user