diff --git a/mitmproxy/console/grideditor/base.py b/mitmproxy/console/grideditor/base.py index 68a0f86a7..8b80badbf 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