aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/console/grideditor/base.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mitmproxy/console/grideditor/base.py b/mitmproxy/console/grideditor/base.py
index 68a0f86a..8b80badb 100644
--- a/mitmproxy/console/grideditor/base.py
+++ b/mitmproxy/console/grideditor/base.py
@@ -52,15 +52,13 @@ class Column(object):
class Cell(urwid.WidgetWrap):
- __metaclass__ = abc.ABCMeta
- @abc.abstractmethod
def get_data(self):
"""
Raises:
ValueError, if the current content is invalid.
"""
- pass
+ raise NotImplementedError()
def selectable(self):
return True