mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 23:36:21 +01: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>
This commit is contained in:
parent
b9db247aac
commit
0330c71f59
|
|
@ -311,10 +311,10 @@ def follow_rule(i, line):
|
||||||
# if the line still does not respect the rule
|
# if the line still does not respect the rule
|
||||||
if not rules[i][0](line):
|
if not rules[i][0](line):
|
||||||
# this is a rule disgression
|
# this is a rule disgression
|
||||||
print ("## Disgression: ", rules[i][2], " in:", oldline)
|
print ("## Disgression: ", rules[i][2], " in: '", oldline, "'")
|
||||||
else:
|
else:
|
||||||
# just remind user about his/her errors
|
# just remind user about his/her errors
|
||||||
print ("## Reminder: ", rules[i][2], " in :", oldline)
|
print ("## Reminder: ", rules[i][2], " in : '", oldline, "'")
|
||||||
return line
|
return line
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user