Jean-Frédéric has uploaded a new change for review. https://gerrit.wikimedia.org/r/281809
Change subject: Fix import of pywikibot bits in remaining erfgoed scripts ...................................................................... Fix import of pywikibot bits in remaining erfgoed scripts Three of the erfgoedbot scripts were not properly importing some modules belonging to pywikibot. Change-Id: Ib32b7883d619ee05015023f566ba983e4361d379 --- M erfgoedbot/add_object_location_monuments.py M erfgoedbot/images_of_monuments_without_id.py M erfgoedbot/top_streets.py 3 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage refs/changes/09/281809/1 diff --git a/erfgoedbot/add_object_location_monuments.py b/erfgoedbot/add_object_location_monuments.py index 4b63073..5c1cf1c 100644 --- a/erfgoedbot/add_object_location_monuments.py +++ b/erfgoedbot/add_object_location_monuments.py @@ -7,8 +7,8 @@ ''' import monuments_config as mconfig import pywikibot -import config -import pagegenerators +from pywikibot import config +from pywikibot import pagegenerators import MySQLdb diff --git a/erfgoedbot/images_of_monuments_without_id.py b/erfgoedbot/images_of_monuments_without_id.py index 8b9b76a..d408210 100644 --- a/erfgoedbot/images_of_monuments_without_id.py +++ b/erfgoedbot/images_of_monuments_without_id.py @@ -15,7 +15,7 @@ ''' import monuments_config as mconfig import pywikibot -import config +from pywikibot import config import MySQLdb diff --git a/erfgoedbot/top_streets.py b/erfgoedbot/top_streets.py index 7026c3c..137f987 100644 --- a/erfgoedbot/top_streets.py +++ b/erfgoedbot/top_streets.py @@ -8,7 +8,7 @@ ''' import monuments_config as mconfig import pywikibot -import config +from pywikibot import config import MySQLdb from collections import Counter -- To view, visit https://gerrit.wikimedia.org/r/281809 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib32b7883d619ee05015023f566ba983e4361d379 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/heritage Gerrit-Branch: master Gerrit-Owner: Jean-Frédéric <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
