]> code.ossystems Code Review - openembedded-core.git/commitdiff
texinfo-dummy-native: port to Python 3
authorRoss Burton <ross.burton@intel.com>
Wed, 2 Aug 2017 19:22:10 +0000 (20:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 16:30:13 +0000 (17:30 +0100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py

index 8b7033ecccd9f294e82d896322269cbc5038fe26..e369f74455f6936792b02310e5518e9b0f69d758 100644 (file)
@@ -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