Commit f6629f1
committed
Replace BaseException with Exception
From Python docs[0]:
The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined classes (for that, use Exception).
BaseException can be a problem by code that catches Exception. I had problems with celery.
That should be backwards compatible, since Exception inherits from BaseException
[0] https://docs.python.org/2/library/exceptions.html1 parent 613e536 commit f6629f1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments