diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 08:52:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 15:51:42 +0100 |
commit | 554c892ccf16ca564e7be94f84eaa73667170e15 (patch) | |
tree | 01b74616570ebd473abf6bb287cdfcfbd797d41b /meta/classes/spdx.bbclass | |
parent | 6d9e3a19384cbd737fdac729c6c0de5b06f8ec12 (diff) | |
download | poky-554c892ccf16ca564e7be94f84eaa73667170e15.tar.gz |
meta: Don't use deprecated bitbake API
These have been deprecated for a long time, convert the remaining
references to the correct modules and prepare for removal of the
compatibility support from bitbake.
(From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/spdx.bbclass')
-rw-r--r-- | meta/classes/spdx.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/spdx.bbclass b/meta/classes/spdx.bbclass index bde6e496ff..55ce3aff4f 100644 --- a/meta/classes/spdx.bbclass +++ b/meta/classes/spdx.bbclass | |||
@@ -45,9 +45,9 @@ python do_spdx () { | |||
45 | cur_ver_code = get_ver_code( info['sourcedir'] ) | 45 | cur_ver_code = get_ver_code( info['sourcedir'] ) |
46 | cache_cur = False | 46 | cache_cur = False |
47 | if not os.path.exists( spdx_sstate_dir ): | 47 | if not os.path.exists( spdx_sstate_dir ): |
48 | bb.mkdirhier( spdx_sstate_dir ) | 48 | bb.utils.mkdirhier( spdx_sstate_dir ) |
49 | if not os.path.exists( info['spdx_temp_dir'] ): | 49 | if not os.path.exists( info['spdx_temp_dir'] ): |
50 | bb.mkdirhier( info['spdx_temp_dir'] ) | 50 | bb.utils.mkdirhier( info['spdx_temp_dir'] ) |
51 | if os.path.exists( sstatefile ): | 51 | if os.path.exists( sstatefile ): |
52 | ## cache for this package exists. read it in | 52 | ## cache for this package exists. read it in |
53 | cached_spdx = get_cached_spdx( sstatefile ) | 53 | cached_spdx = get_cached_spdx( sstatefile ) |