mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
cfaddce876
commit
967978d55a
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user