mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
classes/lib: Convert to use python3 octal syntax
The syntax for octal values changed in python3, adapt to it. (From OE-Core rev: 737a095fcde773a36e0fee1f27b74aaa88062386) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user