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

Jose Alarcon jose.alarcon at ge.com
Mon Dec 28 09:07:11 UTC 2015


Signed-off-by: Jose Alarcon <jose.alarcon at ge.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
-- 
2.5.0




More information about the Openembedded-devel mailing list