summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/cvs.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-02 08:33:49 +0000
committerSaul Wold <sgw@linux.intel.com>2011-03-03 16:33:57 -0800
commitfc94ae7a7717050902e11358a63382f346db1a19 (patch)
tree4a890afcd752e300d00221fa03815e5637adde82 /bitbake/lib/bb/fetch/cvs.py
parentec8ab907635b161cd2b525f1768651169eb02c7e (diff)
downloadpoky-fc94ae7a7717050902e11358a63382f346db1a19.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/fetch/cvs.py')
-rw-r--r--bitbake/lib/bb/fetch/cvs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py
index 0edb794b04..64450afc29 100644
--- a/bitbake/lib/bb/fetch/cvs.py
+++ b/bitbake/lib/bb/fetch/cvs.py
@@ -137,7 +137,7 @@ class Cvs(Fetch):
137 else: 137 else:
138 logger.info("Fetch " + loc) 138 logger.info("Fetch " + loc)
139 # check out sources there 139 # check out sources there
140 bb.mkdirhier(pkgdir) 140 bb.utils.mkdirhier(pkgdir)
141 os.chdir(pkgdir) 141 os.chdir(pkgdir)
142 logger.debug(1, "Running %s", cvscmd) 142 logger.debug(1, "Running %s", cvscmd)
143 myret = os.system(cvscmd) 143 myret = os.system(cvscmd)