summaryrefslogtreecommitdiffstats
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-967978d55af658e9173f9dd9b127f3a248a6da88.tar.gz
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 7bb310d67..db8a3632d 100755
--- a/contrib/oe-stylize.py
+++ b/contrib/oe-stylize.py
@@ -311,10 +311,10 @@ def follow_rule(i, line):
311 # if the line still does not respect the rule 311 # if the line still does not respect the rule
312 if not rules[i][0](line): 312 if not rules[i][0](line):
313 # this is a rule disgression 313 # this is a rule disgression
314 print ("## Disgression: ", rules[i][2], " in:", oldline) 314 print ("## Disgression: ", rules[i][2], " in: '", oldline, "'")
315 else: 315 else:
316 # just remind user about his/her errors 316 # just remind user about his/her errors
317 print ("## Reminder: ", rules[i][2], " in :", oldline) 317 print ("## Reminder: ", rules[i][2], " in : '", oldline, "'")
318 return line 318 return line
319 319
320 320