Mercurial > p > roundup > code
comparison roundup/exceptions.py @ 6005:292c9dfd06bd
flake8 formatting fixes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 28 Dec 2019 13:01:34 -0500 |
| parents | 32f95ec6bd8e |
| children | c177e7128dc9 |
comparison
equal
deleted
inserted
replaced
| 6004:55f5060e0508 | 6005:292c9dfd06bd |
|---|---|
| 1 """Exceptions for use across all Roundup components. | 1 """Exceptions for use across all Roundup components. |
| 2 """ | 2 """ |
| 3 | 3 |
| 4 __docformat__ = 'restructuredtext' | 4 __docformat__ = 'restructuredtext' |
| 5 | 5 |
| 6 | |
| 6 class LoginError(BaseException): | 7 class LoginError(BaseException): |
| 7 pass | 8 pass |
| 8 | 9 |
| 10 | |
| 9 class Unauthorised(BaseException): | 11 class Unauthorised(BaseException): |
| 10 pass | 12 pass |
| 13 | |
| 11 | 14 |
| 12 class Reject(BaseException): | 15 class Reject(BaseException): |
| 13 """An auditor may raise this exception when the current create or set | 16 """An auditor may raise this exception when the current create or set |
| 14 operation should be stopped. | 17 operation should be stopped. |
| 15 | 18 |
