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-07 09:06:35 +0000 |
commit | 5a52cb80d6d62c704692ad6cfa93426c4a17bc52 (patch) | |
tree | 94de3110a7575c5f10a89466ca0810e19021a227 /bitbake/lib/bb/fetch2/git.py | |
parent | 972eb5fababb33b5537fcfbbaf8e33ea820f0fee (diff) | |
download | poky-5a52cb80d6d62c704692ad6cfa93426c4a17bc52.tar.gz |
bitbake/fetch2: Define a sane localpath function and remove code duplication
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index f38058bbcc..392491ed87 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -77,9 +77,6 @@ class Git(Fetch): | |||
77 | 77 | ||
78 | ud.localfile = ud.mirrortarball | 78 | ud.localfile = ud.mirrortarball |
79 | 79 | ||
80 | def localpath(self, url, ud, d): | ||
81 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) | ||
82 | |||
83 | def forcefetch(self, url, ud, d): | 80 | def forcefetch(self, url, ud, d): |
84 | for name in ud.names: | 81 | for name in ud.names: |
85 | if not self._contains_ref(ud.revisions[name], d): | 82 | if not self._contains_ref(ud.revisions[name], d): |