jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Fixed flake errors
......................................................................
[FIX] Fixed flake errors
Due to the outage of jenkins a few reviews have been merged manually
which contained minor flake errors.
Change-Id: Ibded765a863b36a185258acff3e32de75ff4a58d
---
M pywikibot/exceptions.py
M pywikibot/site.py
2 files changed, 2 insertions(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py
index d735038..95d3111 100644
--- a/pywikibot/exceptions.py
+++ b/pywikibot/exceptions.py
@@ -260,6 +260,7 @@
PageNotSaved = PageSaveRelatedError
+
class NoCreateError(PageSaveRelatedError):
"""Parameter nocreate doesn't allow page
creation."""
@@ -268,6 +269,7 @@
pass
+
class EditConflict(PageSaveRelatedError):
"""There has been an edit conflict while uploading the
page"""
diff --git a/pywikibot/site.py b/pywikibot/site.py
index 86de719..642731c 100644
--- a/pywikibot/site.py
+++ b/pywikibot/site.py
@@ -37,7 +37,6 @@
from pywikibot.exceptions import (
Error,
PageRelatedError,
- PageSaveRelatedError,
EditConflict,
PageCreatedConflict,
PageDeletedConflict,
--
To view, visit
https://gerrit.wikimedia.org/r/168916
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibded765a863b36a185258acff3e32de75ff4a58d
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>