summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/bzr.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-02 08:33:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 22:51:33 +0000
commit54e10127c495bdb31cfef234cd2def0c4f8cf0b0 (patch)
tree422cda19c1e69a0c69c34fd843b0164591ca029f /bitbake/lib/bb/fetch2/bzr.py
parentc07a153e7232d7070e97f5e661a8b2831b303806 (diff)
downloadpoky-54e10127c495bdb31cfef234cd2def0c4f8cf0b0.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)) (Bitbake rev: 36fe59ce314c295d239b76de34c8714def2c32d5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/bzr.py')
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index 454961eff0..201705b6ce 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -93,7 +93,7 @@ class Bzr(FetchMethod):
93 bzrcmd = self._buildbzrcommand(ud, d, "fetch") 93 bzrcmd = self._buildbzrcommand(ud, d, "fetch")
94 bb.fetch2.check_network_access(d, bzrcmd, ud.url) 94 bb.fetch2.check_network_access(d, bzrcmd, ud.url)
95 logger.debug(1, "BZR Checkout %s", loc) 95 logger.debug(1, "BZR Checkout %s", loc)
96 bb.mkdirhier(ud.pkgdir) 96 bb.utils.mkdirhier(ud.pkgdir)
97 os.chdir(ud.pkgdir) 97 os.chdir(ud.pkgdir)
98 logger.debug(1, "Running %s", bzrcmd) 98 logger.debug(1, "Running %s", bzrcmd)
99 runfetchcmd(bzrcmd, d) 99 runfetchcmd(bzrcmd, d)