jenkins-bot has submitted this change and it was merged.
Change subject: Add ID string to file, update (C) string, shorten output line ......................................................................
Add ID string to file, update (C) string, shorten output line
Change-Id: Ibacef9e3ee75d8b30174230f4a59588420b57848 --- M scripts/freebasemappingupload.py 1 file changed, 7 insertions(+), 2 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/freebasemappingupload.py b/scripts/freebasemappingupload.py index 0bd2bba..54b7fc2 100644 --- a/scripts/freebasemappingupload.py +++ b/scripts/freebasemappingupload.py @@ -15,8 +15,12 @@
# # (C) Denny Vrandecic, 2013 -# (C) Pywikibot team, 2013 +# (C) Pywikibot team, 2013-2014 +# # Distributed under the terms of the MIT license. +# +__version__ = '$Id$' +#
import gzip import os @@ -31,7 +35,8 @@ self.repo = pywikibot.Site('wikidata', 'wikidata').data_repository() self.filename = filename if not os.path.exists(self.filename): - pywikibot.output('Cannot find %s. Try providing the absolute path.' % self.filename) + pywikibot.output('Cannot find %s. Try providing the absolute path.' + % self.filename) sys.exit(1)
def run(self):
pywikibot-commits@lists.wikimedia.org