[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: [Patch] Remove trailing whitespace from translated json files
From: Albert Astals Cid <aacid () kde ! org>
Date: 2017-03-29 22:54:12
Message-ID: 3645966.sZWSHdmVnn () xps
[Download RAW message or body]
Anyone with python knowledge can review this?
Otherwise just commit it and be prepared to fix it if you break it :P
Cheers,
Albert
El dimecres, 29 de març de 2017, a les 19:56:23 CEST, Elvis Angelaccio va
escriure:
> Scripty adds trailing whitespace when committing translations to json
> files. This is annoying because the git diff output is polluted with
> visual warnings.
>
> According to [1], python2 adds trailing whitespace when json.dumps has
> the indent parameter set. The same page also suggests the fix for
> this, which is what you can find in the attached patch.
>
> Cheers,
> Elvis
>
> [1]: https://docs.python.org/2/library/json.html#basic-usage
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic