mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +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:
@@ -841,8 +841,8 @@ def check_sanity_everybuild(status, d):
|
||||
|
||||
check_supported_distro(d)
|
||||
|
||||
omask = os.umask(022)
|
||||
if omask & 0755:
|
||||
omask = os.umask(0o022)
|
||||
if omask & 0o755:
|
||||
status.addresult("Please use a umask which allows a+rx and u+rwx\n")
|
||||
os.umask(omask)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user