diff options
| author | Jose Alarcon <jose.alarcon@ge.com> | 2015-12-28 11:07:13 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-01-04 14:56:24 +0100 |
| commit | 0330c71f594bebf17d14113929ee1353717dba6f (patch) | |
| tree | ca3d1385a43868015752fff9f8a375d17053284a /contrib | |
| parent | b9db247aaca587f95574de76e94471864e887807 (diff) | |
| download | meta-openembedded-0330c71f594bebf17d14113929ee1353717dba6f.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>
Diffstat (limited to 'contrib')
| -rwxr-xr-x | contrib/oe-stylize.py | 4 |
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): | |||
| 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 | ||
