Permalink
Browse files

oe-stylize: remove trailing newline when printing unknown variable/ro…

…utine

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
  • Loading branch information...
mtdcr committed Dec 10, 2010
1 parent 39530eb commit bbd15964c3af5e06c24aa040dc58ebeca2872d93
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/oe-stylize.py
View
@@ -379,7 +379,7 @@ def follow_rule(i, line):
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 = []

0 comments on commit bbd1596

Please sign in to comment.