summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.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:24:00 +0100
commit297438e965053b2eb56cc8ef3e59465642f10a24 (patch)
tree74bd5fc54674b8cce870b35bd9e22d93eb00dcb6 /meta/classes/sstate.bbclass
parentc77e7b86aa732e9acfa6409108756be38a3ca3ae (diff)
downloadpoky-297438e965053b2eb56cc8ef3e59465642f10a24.tar.gz
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>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass6
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 () {
655 sstate_install(shared_state, d) 655 sstate_install(shared_state, d)
656 for intercept in shared_state['interceptfuncs']: 656 for intercept in shared_state['interceptfuncs']:
657 bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),)) 657 bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),))
658 omask = os.umask(002) 658 omask = os.umask(0o002)
659 if omask != 002: 659 if omask != 0o002:
660 bb.note("Using umask 002 (not %0o) for sstate packaging" % omask) 660 bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
661 sstate_package(shared_state, d) 661 sstate_package(shared_state, d)
662 os.umask(omask) 662 os.umask(omask)
663} 663}