From 8c375383148f100f03aed52827ac513f145078c2 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 27 Jan 2016 10:12:18 +0100 Subject: code formatting: fix whitespace issues --- libmproxy/console/grideditor.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libmproxy/console/grideditor.py') diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py index 237eea28..a11c962c 100644 --- a/libmproxy/console/grideditor.py +++ b/libmproxy/console/grideditor.py @@ -63,6 +63,7 @@ class TextColumn: class SubgridColumn: + def __init__(self, heading, subeditor): self.heading = heading self.subeditor = subeditor @@ -97,6 +98,7 @@ class SubgridColumn: class SEscaped(urwid.WidgetWrap): + def __init__(self, txt): txt = txt.encode("string-escape") w = urwid.Text(txt, wrap="any") @@ -113,6 +115,7 @@ class SEscaped(urwid.WidgetWrap): class SEdit(urwid.WidgetWrap): + def __init__(self, txt): txt = txt.encode("string-escape") w = urwid.Edit(edit_text=txt, wrap="any", multiline=True) @@ -127,6 +130,7 @@ class SEdit(urwid.WidgetWrap): class GridRow(urwid.WidgetWrap): + def __init__(self, focused, editing, editor, values): self.focused, self.editing, self.editor = focused, editing, editor @@ -172,6 +176,7 @@ class GridRow(urwid.WidgetWrap): class GridWalker(urwid.ListWalker): + """ Stores rows as a list of (rows, errors) tuples, where rows is a list and errors is a set with an entry of each offset in rows that is an @@ -311,6 +316,7 @@ class GridWalker(urwid.ListWalker): class GridListBox(urwid.ListBox): + def __init__(self, lw): urwid.ListBox.__init__(self, lw) -- cgit v1.2.3