Skip to content

Commit ed2e7b6

Browse files
Mickaël SchoentgenBoboTiG
authored andcommitted
MSS: fix PyLint bad-super-call: Bad first argument 'Exception' given to super()
1 parent f2cf83d commit ed2e7b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ History:
1212
- MSS: fix Flake8 C408: Unnecessary dict call - rewrite as a literal, in exceptions.py
1313
- MSS: fix Flake8 I100: Import statements are in the wrong order
1414
- MSS: fix Flake8 I201: Missing newline before sections or imports
15+
- MSS: fix PyLint bad-super-call: Bad first argument 'Exception' given to super()
1516

1617
3.3.2 2018/11/20
1718
- new contributors: hugovk, Andreas Buhr

mss/exception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ class ScreenShotError(Exception):
1010

1111
def __init__(self, message, details=None):
1212
# type: (Dict[str, Any]) -> None
13-
super(Exception, self).__init__(message)
13+
super(ScreenShotError, self).__init__(message)
1414
self.details = details or {}

0 commit comments

Comments
 (0)