jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  John Vandenberg: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ia3651cf268f8907ed462b41969ac20d5759e5945
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to