diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-02 08:33:49 +0000 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-03 16:33:57 -0800 |
commit | fc94ae7a7717050902e11358a63382f346db1a19 (patch) | |
tree | 4a890afcd752e300d00221fa03815e5637adde82 /bitbake/lib/bb/fetch2/repo.py | |
parent | ec8ab907635b161cd2b525f1768651169eb02c7e (diff) | |
download | poky-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/fetch2/repo.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py index 54130a8c3b..8300da8c5a 100644 --- a/bitbake/lib/bb/fetch2/repo.py +++ b/bitbake/lib/bb/fetch2/repo.py | |||
@@ -69,7 +69,7 @@ class Repo(FetchMethod): | |||
69 | else: | 69 | else: |
70 | username = "" | 70 | username = "" |
71 | 71 | ||
72 | bb.mkdirhier(os.path.join(codir, "repo")) | 72 | bb.utils.mkdirhier(os.path.join(codir, "repo")) |
73 | os.chdir(os.path.join(codir, "repo")) | 73 | os.chdir(os.path.join(codir, "repo")) |
74 | if not os.path.exists(os.path.join(codir, "repo", ".repo")): | 74 | if not os.path.exists(os.path.join(codir, "repo", ".repo")): |
75 | bb.fetch2.check_network_access(d, "repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), ud.url) | 75 | bb.fetch2.check_network_access(d, "repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), ud.url) |