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/sstate.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/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 6bf94b0ec7..994eae6eaa 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -655,9 +655,9 @@ python sstate_task_postfunc () { sstate_install(shared_state, d) for intercept in shared_state['interceptfuncs']: bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),)) - omask = os.umask(002) - if omask != 002: - bb.note("Using umask 002 (not %0o) for sstate packaging" % omask) + omask = os.umask(0o002) + if omask != 0o002: + bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask) sstate_package(shared_state, d) os.umask(omask) } |