summaryrefslogtreecommitdiff
path: root/meta/classes/terminal.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-07 11:23:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:10:02 +0100
commit737a095fcde773a36e0fee1f27b74aaa88062386 (patch)
treeb2a5b86232a4477c7456a3d0d638a6e39a9cef75 /meta/classes/terminal.bbclass
parent3dd26cd6b3d731f7698f6fbcd1947969f360cdc4 (diff)
downloadopenembedded-core-737a095fcde773a36e0fee1f27b74aaa88062386.tar.gz
openembedded-core-737a095fcde773a36e0fee1f27b74aaa88062386.tar.bz2
openembedded-core-737a095fcde773a36e0fee1f27b74aaa88062386.zip
classes/lib: Convert to use python3 octal syntax
The syntax for octal values changed in python3, adapt to it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/terminal.bbclass')
-rw-r--r--meta/classes/terminal.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index 9f4c24e906..a94f755a40 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -29,7 +29,7 @@ def emit_terminal_func(command, envdata, d):
bb.data.emit_func(cmd_func, script, envdata)
script.write(cmd_func)
script.write("\n")
- os.chmod(runfile, 0755)
+ os.chmod(runfile, 0o755)
return runfile