jenkins-bot merged this change.
[IMPR] Cleanup WikibaseEntity.editEntity and overrides
Revision id update is handled in WikibasePage.get which is called
from parent in editEntity.
Change-Id: Id52080d524703d23079b7bfc0f19c6757c5f975a
---
M pywikibot/page.py
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pywikibot/page.py b/pywikibot/page.py
index 48cec2eb..f8b4418 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -3887,7 +3887,6 @@
self._content = updates['entity']
self.get()
- return updates
def concept_uri(self):
"""
@@ -4353,9 +4352,8 @@
else:
baserevid = None
- updates = super(WikibasePage, self).editEntity(
+ super(WikibasePage, self).editEntity(
data, baserevid=baserevid, **kwargs)
- self.latest_revision_id = updates['entity']['lastrevid']
def editLabels(self, labels, **kwargs):
"""
To view, visit change 579716. To unsubscribe, or for help writing mail filters, visit settings.