From: persianpros <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 9c8810de37d10573c4220111a2694f73a2260106)
Signed-off-by: Armin Kuster <[email protected]>
---
contrib/oe-stylize.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py
index 6f2b96c381f..7958797059a 100755
--- a/contrib/oe-stylize.py
+++ b/contrib/oe-stylize.py
@@ -312,10 +312,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
@@ -389,7 +389,7 @@ if __name__ == "__main__":
line = follow_rule(5, line)
if var == "":
if not in_routine:
- print ("## Warning: unknown variable/routine \"%s\"" %
originalLine.rstrip('\n'))
+ print("## Warning: unknown variable/routine \"%s\"" %
originalLine.rstrip('\n'))
var = 'others'
for c in commentBloc:
seen_vars[var].append(c)
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90911):
https://lists.openembedded.org/g/openembedded-devel/message/90911
Mute This Topic: https://lists.openembedded.org/mt/82174140/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-