jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/357255 )
Change subject: imagecopy.py: page.site is not callable ......................................................................
imagecopy.py: page.site is not callable
Bug: T167062 Change-Id: I87fa6d1b0de0f5c4aafbc6e47abd82624ad5b599 --- M scripts/imagecopy.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py index 98008da..80e53eb 100644 --- a/scripts/imagecopy.py +++ b/scripts/imagecopy.py @@ -519,7 +519,7 @@ skip = False if page.exists() and (page.namespace() == 6) and ( not page.isRedirectPage()): - imagepage = pywikibot.FilePage(page.site(), page.title()) + imagepage = pywikibot.FilePage(page.site, page.title())
# First do autoskip. if doiskip(imagepage.get()):
pywikibot-commits@lists.wikimedia.org