diff options
| author | Khem Raj <raj.khem@gmail.com> | 2011-03-02 08:33:49 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-03 22:51:33 +0000 |
| commit | 54e10127c495bdb31cfef234cd2def0c4f8cf0b0 (patch) | |
| tree | 422cda19c1e69a0c69c34fd843b0164591ca029f /bitbake/lib/bb/fetch2/git.py | |
| parent | c07a153e7232d7070e97f5e661a8b2831b303806 (diff) | |
| download | poky-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/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index f2c27e42a7..1679f81511 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -116,7 +116,7 @@ class Git(FetchMethod): | |||
| 116 | 116 | ||
| 117 | # If the checkout doesn't exist and the mirror tarball does, extract it | 117 | # If the checkout doesn't exist and the mirror tarball does, extract it |
| 118 | if not os.path.exists(ud.clonedir) and os.path.exists(ud.fullmirror): | 118 | if not os.path.exists(ud.clonedir) and os.path.exists(ud.fullmirror): |
| 119 | bb.mkdirhier(ud.clonedir) | 119 | bb.utils.mkdirhier(ud.clonedir) |
| 120 | os.chdir(ud.clonedir) | 120 | os.chdir(ud.clonedir) |
| 121 | runfetchcmd("tar -xzf %s" % (ud.fullmirror), d) | 121 | runfetchcmd("tar -xzf %s" % (ud.fullmirror), d) |
| 122 | 122 | ||
