summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:51:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:53:17 +0000
commitb42ba2f95c6968789b06be2dad459e3bef723b1a (patch)
treed072dfae682b00d7e732ff997fc02734535eb65c /bitbake/lib/bb/fetch
parent14dea89521c0c648e8e543388096a6dcd6d4f2e0 (diff)
downloadpoky-b42ba2f95c6968789b06be2dad459e3bef723b1a.tar.gz
bitbake: Remove bad commit hunk from old cvs fetcher
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/cvs.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py
index 7d0ccf2134..0edb794b04 100644
--- a/bitbake/lib/bb/fetch/cvs.py
+++ b/bitbake/lib/bb/fetch/cvs.py
@@ -170,14 +170,3 @@ class Cvs(Fetch):
170 except OSError: 170 except OSError:
171 pass 171 pass
172 raise FetchError(ud.module) 172 raise FetchError(ud.module)
173
174 def clean(self, ud, d):
175 """ clean the git directory """
176
177 pkg = data.expand('${PN}', d)
178 localdata = data.createCopy(d)
179 data.setVar('OVERRIDES', "cvs:%s" % data.getVar('OVERRIDES', localdata), localdata)
180 data.update_data(localdata)
181 pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
182 bb.utils.remove(pkgdir, True)
183 bb.utils.remove(ud.localpath)