commit | ba312fe844826f152fa4ea5ae5c67d740fd1f802 | [log] [tgz] |
---|---|---|
author | Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> | Wed Mar 20 19:30:29 2019 +0100 |
committer | Kumar Gala <kumar.gala@gmail.com> | Tue Mar 26 07:59:59 2019 -0500 |
tree | 4826e74c0696d1eb06e09bf999a49c4a6d3f467f | |
parent | 0eee1f699b6e8b54c20f7db76ad8dc988a5faed2 [diff] |
scripts: Remove unnecessary () around if/while conditions in Python Not needed in Python. Detected by check C0325 in pylint3. Also replace an if len(tag): with just if tag: Empty strings, byte strings, lists, etc., are falsy in Python. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>