jenkins-bot has submitted this change and it was merged.
Change subject: [BUGFIX] Link._site is a site object and is not callable ......................................................................
[BUGFIX] Link._site is a site object and is not callable
Change-Id: I50f2d1f3b151919b1a3c4dabaa75d5a11b64966e --- M pywikibot/page.py 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 1db43d3..02ae13f 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -1656,7 +1656,8 @@ in self.getFileVersionHistory(): lines.append(u'| %s || %s || %s || %s || <nowiki>%s</nowiki>' % (datetime, username, resolution, size, comment)) - return u'{| border="1"\n! date/time || username || resolution || size || edit summary\n|----\n' + u'\n|----\n'.join(lines) + '\n|}' + return u'{| border="1"\n! date/time || username || resolution || size || edit summary\n|----\n' + \ + u'\n|----\n'.join(lines) + '\n|}'
def usingPages(self, step=None, total=None, content=False): """Yield Pages on which the image is displayed. @@ -3208,7 +3209,7 @@ """\ %s is not a local page on %s, and the %s family is not supported by PyWikiBot!""" - % (self._text, self._site(), familyName)) + % (self._text, self._site, familyName))
# Redundant interwiki prefix to the local wiki if newsite == self._site:
pywikibot-commits@lists.wikimedia.org