aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Alarcon <jose.alarcon@ge.com>2015-12-28 11:07:13 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-01-14 11:22:10 +0100
commit967978d55af658e9173f9dd9b127f3a248a6da88 (patch)
tree8f9a4a5f6a431563eb7b12ac35409e5c32698151
parentcfaddce876c4200614100de163fd978b45235524 (diff)
downloadmeta-openembedded-contrib-967978d55af658e9173f9dd9b127f3a248a6da88.tar.gz
meta-openembedded-contrib-967978d55af658e9173f9dd9b127f3a248a6da88.tar.bz2
meta-openembedded-contrib-967978d55af658e9173f9dd9b127f3a248a6da88.zip
contrib: print oldline within single quotes
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rwxr-xr-xcontrib/oe-stylize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py
index 7bb310d671..db8a3632d9 100755
--- a/contrib/oe-stylize.py
+++ b/contrib/oe-stylize.py
@@ -311,10 +311,10 @@ def follow_rule(i, line):
# if the line still does not respect the rule
if not rules[i][0](line):
# this is a rule disgression
- print ("## Disgression: ", rules[i][2], " in:", oldline)
+ print ("## Disgression: ", rules[i][2], " in: '", oldline, "'")
else:
# just remind user about his/her errors
- print ("## Reminder: ", rules[i][2], " in :", oldline)
+ print ("## Reminder: ", rules[i][2], " in : '", oldline, "'")
return line