summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/svn.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-02 08:33:49 +0000
committerChris Larson <chris_larson@mentor.com>2011-03-02 08:15:17 -0700
commit36fe59ce314c295d239b76de34c8714def2c32d5 (patch)
tree0212e9d7f774d3e9cd1ee180de4a40c79b52ff71 /lib/bb/fetch2/svn.py
parentc6c31b5c58a502703879243ca37585e058e09c71 (diff)
downloadopenembedded-core-contrib-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/svn.py')
-rw-r--r--lib/bb/fetch2/svn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py
index ac4fd27e14..607bdd0cd4 100644
--- a/lib/bb/fetch2/svn.py
+++ b/lib/bb/fetch2/svn.py
@@ -122,7 +122,7 @@ class Svn(FetchMethod):
svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
logger.info("Fetch " + loc)
# check out sources there
- bb.mkdirhier(ud.pkgdir)
+ bb.utils.mkdirhier(ud.pkgdir)
os.chdir(ud.pkgdir)
logger.debug(1, "Running %s", svnfetchcmd)
bb.fetch2.check_network_access(d, svnfetchcmd, ud.url)