diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 11:23:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:10:02 +0100 |
commit | 737a095fcde773a36e0fee1f27b74aaa88062386 (patch) | |
tree | b2a5b86232a4477c7456a3d0d638a6e39a9cef75 /meta/classes/sanity.bbclass | |
parent | 3dd26cd6b3d731f7698f6fbcd1947969f360cdc4 (diff) | |
download | openembedded-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/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index a392bc29d1..addeab66c5 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -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) |