style: Strip newline when checking lines
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 24 Mar 2016 11:11:34 +0000 (11:11 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 24 Mar 2016 11:11:34 +0000 (11:11 +0000)
commit363b103cc44ff16fbc3f1179f95fc800db042397
tree8e93caa4090f0342fb03e5f69c97af210bc81248
parent8d8e926b04702e891553198bed99ef55f018d160
style: Strip newline when checking lines

The style checker incorrectly includes newlines when checking lines of
code, which effectively decreases the column limit by 1. This
changeset strips the newline character from before calling line
checkers.

Change-Id: I0a8c7707ece57d782d11cc86db4b8064db291ce0
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
util/style.py