oe-stylize: remove trailing newline when printing unknown variable/routine
PATCH 1/1 oe-stylize: remove trailing newline when printing unknown variable/routine
Signed-off-by Andreas Oberritter <[email protected]>
--- contrib/oe-stylize.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/oe-stylize.py +1 -1
@@ -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 = []
Signature · 1 line
1.7.2.3