[oe] [PATCH 14/22] contrib: ensure that oe-stylize.py works with python versions < 3.0

Armin Kuster akuster808 at gmail.com
Sun Jan 10 00:59:37 UTC 2016


From: Jose Alarcon <jose.alarcon at ge.com>

Signed-off-by: Jose Alarcon <jose.alarcon at ge.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 contrib/oe-stylize.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py
index 712557d..a2fcde1 100755
--- a/contrib/oe-stylize.py
+++ b/contrib/oe-stylize.py
@@ -19,6 +19,7 @@ TODO:
  - count rule breaks and displays them in the order frequence
 """
 
+from __future__ import print_function 
 import fileinput
 import string
 import re
-- 
1.9.1




More information about the Openembedded-devel mailing list