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):
--
To view, visit https://gerrit.wikimedia.org/r/117653
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibacef9e3ee75d8b30174230f4a59588420b57848
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Denny Vrandecic <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits