jenkins-bot has submitted this change and it was merged.
Change subject: Fix harvest_template linked page check ......................................................................
Fix harvest_template linked page check
Change-Id: I4d52872b9ea04e462b48336b653cf762d9e84fb8 --- M scripts/harvest_template.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/harvest_template.py b/scripts/harvest_template.py index 74ecc21..94b1e3a 100755 --- a/scripts/harvest_template.py +++ b/scripts/harvest_template.py @@ -95,7 +95,7 @@ except pywikibot.NoPage: linked_item = None
- if not item or not linked_item.exists(): + if not linked_item or not linked_item.exists(): pywikibot.output(u'%s doesn't have a wikidata item to link with. Skipping' % (linked_page)) return
pywikibot-commits@lists.wikimedia.org