jenkins-bot has submitted this change and it was merged.
Change subject: pep8-fiy exceptions.py
......................................................................
pep8-fiy exceptions.py
Change-Id: Ibc6de40d4adef27d76a090ce0da10bfc66ecc32a
---
M pywikibot/exceptions.py
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Ladsgroup: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py
index 8972fed..dd97cb0 100644
--- a/pywikibot/exceptions.py
+++ b/pywikibot/exceptions.py
@@ -119,10 +119,12 @@
class ServerError(Error):
"""Got unexpected server response"""
+
class FatalServerError(ServerError):
"""A fatal server error that's not going to be corrected by just
sending
the request again."""
+
class Server504Error(Error):
"""Server timed out with http 504 code"""
--
To view, visit
https://gerrit.wikimedia.org/r/80770
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc6de40d4adef27d76a090ce0da10bfc66ecc32a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot