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-05-16 23:32:39 +0100
commitbda68e63e2b002069200b8c810225bcba109dce3 (patch)
treef3de4b522ecba538a3c881e67cc329b85e24d2ff /meta/classes/sstate.bbclass
parent93925f7875197e08b9e91019096c196bac2f0e3f (diff)
downloadpoky-bda68e63e2b002069200b8c810225bcba109dce3.tar.gz
meta: Convert to use python3 octal syntax
(From OE-Core rev: 2502a4c65b45d02b606cb790d48b7bcf2e066366) 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 8c623271ad..ab8ca6e215 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -661,9 +661,9 @@ python sstate_task_postfunc () {
661 sstate_install(shared_state, d) 661 sstate_install(shared_state, d)
662 for intercept in shared_state['interceptfuncs']: 662 for intercept in shared_state['interceptfuncs']:
663 bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),)) 663 bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),))
664 omask = os.umask(002) 664 omask = os.umask(0o002)
665 if omask != 002: 665 if omask != 0o002:
666 bb.note("Using umask 002 (not %0o) for sstate packaging" % omask) 666 bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
667 sstate_package(shared_state, d) 667 sstate_package(shared_state, d)
668 os.umask(omask) 668 os.umask(omask)
669} 669}