style: remove extra newline from white space verifier fix method
authorGabor Dozsa <gabor.dozsa@arm.com>
Thu, 2 Jun 2016 09:48:20 +0000 (10:48 +0100)
committerGabor Dozsa <gabor.dozsa@arm.com>
Thu, 2 Jun 2016 09:48:20 +0000 (10:48 +0100)
Change-Id: I7bce7d1cb04efe20d31445eb67ea5ffd2a4a41f4
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
util/style/verifiers.py

index a55f5edd8b762f0648cf2ce07fefdd1c0c0038c6..c46cae4053621c98d70b13252dc0f6448dffebf8 100644 (file)
@@ -264,7 +264,7 @@ class Whitespace(LineVerifier):
 
             line = newline
 
-        return line.rstrip() + '\n'
+        return line.rstrip()
 
 
 class SortedIncludes(Verifier):