Jean-Frédéric has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/354529 )
Change subject: Add debugging information at the start of processSource() ...................................................................... Add debugging information at the start of processSource() It will make it easier to pinpoint when the processing crashes. Change-Id: Ib7c638df5c6d23b81190ae5164e2323286b1c34b --- M erfgoedbot/populate_image_table.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage refs/changes/29/354529/1 diff --git a/erfgoedbot/populate_image_table.py b/erfgoedbot/populate_image_table.py index d160d57..2694bda 100644 --- a/erfgoedbot/populate_image_table.py +++ b/erfgoedbot/populate_image_table.py @@ -66,6 +66,9 @@ def processSource(countrycode, countryconfig, conn, cursor, conn2, cursor2): """Work on a single source (country).""" + pywikibot.output( + u'Processing country "%s"' % (countrycode) + ) commonsTemplate = countryconfig.get('commonsTemplate').replace(u' ', u'_') commonsTrackerCategory = countryconfig.get( -- To view, visit https://gerrit.wikimedia.org/r/354529 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib7c638df5c6d23b81190ae5164e2323286b1c34b Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/heritage Gerrit-Branch: master Gerrit-Owner: Jean-Frédéric <jeanfrederic.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits