Remove useless super-calls

This commit is contained in:
Florian Bruhin 2016-07-23 18:39:27 +02:00
parent 04fdce9058
commit e887d9a381
4 changed files with 0 additions and 17 deletions

View File

@ -37,9 +37,6 @@ class RAMCookieJar(QNetworkCookieJar):
changed = pyqtSignal()
def __init__(self, parent=None):
super().__init__(parent)
def __repr__(self):
return utils.get_repr(self, count=len(self.allCookies()))

View File

@ -123,9 +123,6 @@ class JSBridge(QObject):
"""Javascript-bridge for special qute:... pages."""
def __init__(self, parent=None):
super().__init__(parent)
@pyqtSlot(int, str, str, str)
def set(self, win_id, sectname, optname, value):
"""Slot to set a setting from qute:settings."""

View File

@ -420,9 +420,6 @@ class ExceptionCrashDialog(_CrashDialog):
text = "<b>Argh! qutebrowser crashed unexpectedly.</b>"
self._lbl.setText(text)
def _init_buttons(self):
super()._init_buttons()
def _init_checkboxes(self):
"""Add checkboxes to the dialog."""
super()._init_checkboxes()

View File

@ -531,14 +531,6 @@ class FakeIOStream(io.TextIOBase):
super().__init__()
self.write = write_func
def flush(self):
"""Override flush() to satisfy pylint."""
return super().flush()
def isatty(self):
"""Override isatty() to satisfy pylint."""
return super().isatty()
@contextlib.contextmanager
def fake_io(write_func):