jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/688416 )
Change subject: [bugfix] BasePage does not have a title attribute ......................................................................
[bugfix] BasePage does not have a title attribute
Use title() instead
Change-Id: Idcbac10294a0b270a593a41d49079de342dc04df --- M pywikibot/page/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py index a92c111..d3286a5 100644 --- a/pywikibot/page/__init__.py +++ b/pywikibot/page/__init__.py @@ -1827,7 +1827,7 @@ for item in self.site.deletedrevs(self, start=timestamp, content=content, total=1, **kwargs): # should only be one item with one revision - if item['title'] == self.title: + if item['title'] == self.title(): if 'revisions' in item: return item['revisions'][0] return []
pywikibot-commits@lists.wikimedia.org