mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
py2: silence abc metaclass warnings
This commit is contained in:
parent
480ae46b88
commit
2d985e964c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user