From 5a52cb80d6d62c704692ad6cfa93426c4a17bc52 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 3 Feb 2011 21:20:39 +0000 Subject: bitbake/fetch2: Define a sane localpath function and remove code duplication Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/perforce.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'bitbake/lib/bb/fetch2/perforce.py') diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index aefc207840..5c128b3fde 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py @@ -118,9 +118,6 @@ class Perforce(Fetch): ud.localfile = data.expand('%s+%s+%s.tar.gz' % (host, base.replace('/', '.'), cset), d) - def localpath(self, url, ud, d): - return os.path.join(data.getVar("DL_DIR", d, 1), ud.localfile) - def download(self, loc, ud, d): """ Fetch urls -- cgit v1.2.3-54-g00ecf