Merge lp:~widelands-dev/widelands/lua_tabs into lp:widelands

Proposed by GunChleoc
Status: Merged
Merged at revision: 7631
Proposed branch: lp:~widelands-dev/widelands/lua_tabs
Merge into: lp:widelands
Diff against target: 12 lines (+4/-0)
1 file modified
utils/update_authors.py (+4/-0)
To merge this branch: bzr merge lp:~widelands-dev/widelands/lua_tabs
Reviewer Review Type Date Requested Status
TiborB Approve
Review via email: mp+278206@code.launchpad.net

Description of the change

update_authors.py now runs fix_lua_tabs.py at the end to keep diff sizes small. This avoids crud in the diffs like I had just now.

It also implies that fix_lua_tabs.py is run every time that translations are updated and merged from Transifex.

To post a comment you must log in.
Revision history for this message
TiborB (tiborb95) wrote :

Looks harmless to me...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'utils/update_authors.py'
2--- utils/update_authors.py 2015-07-27 15:15:42 +0000
3+++ utils/update_authors.py 2015-11-20 19:44:38 +0000
4@@ -138,4 +138,8 @@
5 dest_filepath = source_path + "/" + dest_filename
6 dest_file = codecs.open(dest_filepath, encoding='utf-8', mode='w')
7 dest_file.write(lua_string)
8+
9+print("Fixing the formatting")
10+import fix_lua_tabs
11+fix_lua_tabs.main()
12 print("Done.")

Subscribers

People subscribed via source and target branches

to status/vote changes: