summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/oe-stylize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py
index 0a1346c180..3c383bcfbb 100755
--- a/contrib/oe-stylize.py
+++ b/contrib/oe-stylize.py
@@ -379,7 +379,7 @@ if __name__ == "__main__":
line = follow_rule(5, line)
if var == "":
if not in_routine:
- print "## Warning: unknown variable/routine \"%s\"" % originalLine
+ print "## Warning: unknown variable/routine \"%s\"" % originalLine.rstrip('\n')
var = 'others'
for c in commentBloc: seen_vars[var].append(c)
commentBloc = []