From 82245298f4e0d9b798f20448c44878ef5a8a9a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Thu, 18 Aug 2011 23:21:14 +0200 Subject: [PATCH] Removed assignments to unused variables --- libmproxy/console.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/libmproxy/console.py b/libmproxy/console.py index 052ed61e3..591b1c9a7 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -914,7 +914,6 @@ class BodyPile(urwid.Pile): if len(size)==2: item_rows = self.get_item_rows( size, focus=True ) i = self.widget_list.index(self.focus_item) - f, height = self.item_types[i] tsize = self.get_item_size(size,i,True,item_rows) return self.focus_item.keypress( tsize, key ) @@ -1080,8 +1079,6 @@ class ConsoleMaster(flow.FlowMaster): for i in content.split("--" + boundary): parts = i.splitlines() if len(parts) > 1 and parts[0][0:2] != "--": - saw_clrf = False - data = [] match = rx.search(parts[1]) if match: keys.append(match.group(1) + ":")