[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7627/8267] texinfo-dummy-native: port to Python 3



commit ca5a918f6a8f002a6c00c228a05a615cc92f4c1d
Author: Ross Burton <ross burton intel com>
Date:   Wed Aug 2 20:22:10 2017 +0100

    texinfo-dummy-native: port to Python 3
    
    (From OE-Core rev: 1585ed0488c83e42f14c3a8fcb773366d544827c)
    
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 .../texinfo-dummy-native/texinfo-dummy/template.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py 
b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
index 8b7033e..e369f74 100644
--- a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
+++ b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python2.7
+#! /usr/bin/env python3
 
 # template.py (and other filenames)
 # By Max Eliaser (max eliaser intel com)
@@ -71,7 +71,7 @@ assert this_binary in valid_binaries, \
        this_binary + " is not one of " + ', '.join (valid_binaries)
 
 if "--version" in sys.argv:
-    print version_str
+    print(version_str)
     sys.exit (0)
 
 # For debugging


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]