diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2010-12-10 01:05:02 +0000 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2010-12-10 16:34:34 +0100 |
commit | bbd15964c3af5e06c24aa040dc58ebeca2872d93 (patch) | |
tree | e6cd0ca0acfb6712b851a9682d5f0341cf8939dc /contrib/oe-stylize.py | |
parent | 39530eb5979c2a9d9b0d994548fe44ca680efa44 (diff) | |
download | openembedded-bbd15964c3af5e06c24aa040dc58ebeca2872d93.tar.gz |
oe-stylize: remove trailing newline when printing unknown variable/routinetested_2010-12-10
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'contrib/oe-stylize.py')
-rwxr-xr-x | contrib/oe-stylize.py | 2 |
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 = [] |