Skip to content

Commit 4813964

Browse files
authored
Inherit from Exception rather than BaseException
1 parent 9a415b7 commit 4813964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datemath/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
debug = True if os.environ.get('DEBUG') == 'true' else False
4848

49-
class DateMathException(BaseException):
49+
class DateMathException(Exception):
5050
pass
5151

5252
def unitMap(c):

0 commit comments

Comments
 (0)