diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 21:20:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:36:57 +0000 |
commit | e793a2ded0f037390375328fda2aea3441f1efe8 (patch) | |
tree | 2a3d8972b94d2ca42c102ee6ceeed94575c0243e /lib/bb/fetch2/git.py | |
parent | fdab13939be23227d49db7bd5b9c01cd10737a47 (diff) | |
download | bitbake-e793a2ded0f037390375328fda2aea3441f1efe8.tar.gz |
bitbake/fetch2: Define a sane localpath function and remove code duplication
(From Poky rev: 5a52cb80d6d62c704692ad6cfa93426c4a17bc52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
-rw-r--r-- | lib/bb/fetch2/git.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index f38058bbc..392491ed8 100644 --- a/lib/bb/fetch2/git.py +++ b/lib/bb/fetch2/git.py @@ -77,9 +77,6 @@ class Git(Fetch): ud.localfile = ud.mirrortarball - def localpath(self, url, ud, d): - return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) - def forcefetch(self, url, ud, d): for name in ud.names: if not self._contains_ref(ud.revisions[name], d): |