[oe-commits] [openembedded-core] 36/62: texinfo-dummy-native: port to Python 3

git at git.openembedded.org git at git.openembedded.org
Mon Sep 11 16:17:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 60ab4b641b4e15026150d9a91bc5bfe8d46ebfaa
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Aug 2 20:22:10 2017 +0100

    texinfo-dummy-native: port to Python 3
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py | 4 ++--
 1 file 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 at 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list