XZise has uploaded a new change for review.
https://gerrit.wikimedia.org/r/165464
Change subject: [FIX] Exceptions: Use page attribute in getPage()
......................................................................
[FIX] Exceptions: Use page attribute in getPage()
Change-Id: Ia3651cf268f8907ed462b41969ac20d5759e5945
---
M pywikibot/exceptions.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/64/165464/1
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py
index 7022935..fec58df 100644
--- a/pywikibot/exceptions.py
+++ b/pywikibot/exceptions.py
@@ -104,7 +104,7 @@
super(PageRelatedError, self).__init__(self.message % page)
def getPage(self):
- return self._page
+ return self.page
class PageSaveRelatedError(PageRelatedError):
--
To view, visit https://gerrit.wikimedia.org/r/165464
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3651cf268f8907ed462b41969ac20d5759e5945
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits