summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
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:29 +0100
commitca5a918f6a8f002a6c00c228a05a615cc92f4c1d (patch)
tree5d85158abee2ac23b225d285ca7cb8eed71a62c7 /meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
parentcef80d0dfedd5a692267fa5ffa2146af4856304a (diff)
downloadpoky-ca5a918f6a8f002a6c00c228a05a615cc92f4c1d.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py')
-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 @@
1#! /usr/bin/env python2.7 1#! /usr/bin/env python3
2 2
3# template.py (and other filenames) 3# template.py (and other filenames)
4# By Max Eliaser (max.eliaser@intel.com) 4# By Max Eliaser (max.eliaser@intel.com)
@@ -71,7 +71,7 @@ assert this_binary in valid_binaries, \
71 this_binary + " is not one of " + ', '.join (valid_binaries) 71 this_binary + " is not one of " + ', '.join (valid_binaries)
72 72
73if "--version" in sys.argv: 73if "--version" in sys.argv:
74 print version_str 74 print(version_str)
75 sys.exit (0) 75 sys.exit (0)
76 76
77# For debugging 77# For debugging