git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39530eb
)
oe-stylize: remove trailing newline when printing unknown variable/routine
author
Andreas Oberritter
<obi@opendreambox.org>
Fri, 10 Dec 2010 01:05:02 +0000
(
01:05
+0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Fri, 10 Dec 2010 15:34:34 +0000
(16:34 +0100)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
contrib/oe-stylize.py
patch
|
blob
|
history
diff --git
a/contrib/oe-stylize.py
b/contrib/oe-stylize.py
index
0a1346c
..
3c383bc
100755
(executable)
--- 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 = []