summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/cvs.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 21:20:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:35 +0000
commit5a52cb80d6d62c704692ad6cfa93426c4a17bc52 (patch)
tree94de3110a7575c5f10a89466ca0810e19021a227 /bitbake/lib/bb/fetch2/cvs.py
parent972eb5fababb33b5537fcfbbaf8e33ea820f0fee (diff)
downloadpoky-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/cvs.py')
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
index 6a7cdf2a89..907812d717 100644
--- a/bitbake/lib/bb/fetch2/cvs.py
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -65,9 +65,6 @@ class Cvs(Fetch):
65 65
66 ud.localfile = data.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath), d) 66 ud.localfile = data.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath), d)
67 67
68 def localpath(self, url, ud, d):
69 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
70
71 def forcefetch(self, url, ud, d): 68 def forcefetch(self, url, ud, d):
72 if (ud.date == "now"): 69 if (ud.date == "now"):
73 return True 70 return True