aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-08-02 20:22:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:13 +0100
commit1585ed0488c83e42f14c3a8fcb773366d544827c (patch)
tree43f1906dccd786d71e24b8314c67eb2c834d35d1
parent7fca44e03130c0860cc5df2093902773f426c774 (diff)
downloadopenembedded-core-contrib-1585ed0488c83e42f14c3a8fcb773366d544827c.tar.gz
texinfo-dummy-native: port to Python 3
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py4
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 8b7033eccc..e369f74455 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