diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-02 08:33:49 +0000 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-03-02 08:15:17 -0700 |
commit | 36fe59ce314c295d239b76de34c8714def2c32d5 (patch) | |
tree | 0212e9d7f774d3e9cd1ee180de4a40c79b52ff71 /lib/bb/fetch2/perforce.py | |
parent | c6c31b5c58a502703879243ca37585e058e09c71 (diff) | |
download | bitbake-36fe59ce314c295d239b76de34c8714def2c32d5.tar.gz |
fetch, fetch2: Get rid of DeprecationWarning notice
* This patch fixes a cosmetic issue currently we get with master
WARNING: /home/kraj/work/bitbake/lib/bb/fetch2/__init__.py:733:
DeprecationWarning: Call to deprecated function bb.mkdirhier: Please use bb.utils.mkdirhier instead. bb.mkdirhier("%s/%s" % (rootdir, destdir))
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/fetch2/perforce.py')
-rw-r--r-- | lib/bb/fetch2/perforce.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/perforce.py b/lib/bb/fetch2/perforce.py index 6347834c7..cbdc84853 100644 --- a/lib/bb/fetch2/perforce.py +++ b/lib/bb/fetch2/perforce.py @@ -152,7 +152,7 @@ class Perforce(FetchMethod): # create temp directory logger.debug(2, "Fetch: creating temporary directory") - bb.mkdirhier(data.expand('${WORKDIR}', localdata)) + bb.utils.mkdirhier(data.expand('${WORKDIR}', localdata)) data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata) tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false") tmpfile = tmppipe.readline().strip() |