jenkins-bot has submitted this change and it was merged.

Change subject: use spaces instead of tabs printing dicts
......................................................................


use spaces instead of tabs printing dicts

Change-Id: Ie679d60e3dd4f47389dfef74993eb3e43e6ff313
---
M scripts/maintenance/make_i18n_dict.py
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  John Vandenberg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/maintenance/make_i18n_dict.py 
b/scripts/maintenance/make_i18n_dict.py
index 8319879..452ba61 100644
--- a/scripts/maintenance/make_i18n_dict.py
+++ b/scripts/maintenance/make_i18n_dict.py
@@ -47,13 +47,13 @@
         print "# -*- coding: utf-8 -*-"
         print "msg = {"
         for code in keys:
-            print "\t'%s': {" % code
+            print "    '%s': {" % code
             for msg in self.messages:
                 label = "%s-%s" % (self.scriptname, msg)
                 if label in self.dict[code]:
-                    print "\t\t'%s': u'%s'," \
-                          % (label, self.dict[code][label])
-            print "\t},"
+                    print "        '%s': u'%s'," % (label,
+                                                    self.dict[code][label])
+            print "    },"
         print "};"
 
     def read(self, item):

-- 
To view, visit https://gerrit.wikimedia.org/r/140144
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie679d60e3dd4f47389dfef74993eb3e43e6ff313
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Nullzero <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to