From 6ee5d95317de77c1cfb6db6f1ab2de77f5fa085e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 8 Jan 2014 15:26:29 +0000 Subject: bitbake: fetch2/gitannex: Fix function arguments to match bitbake master This code clearly uses an earlier fetcher API. Update it to match master. (Bitbake rev: e13acb4113ce75226664c3006a9776cc885e860d) Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/gitannex.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/gitannex.py b/bitbake/lib/bb/fetch2/gitannex.py index 02711b0be6..0f37897450 100644 --- a/bitbake/lib/bb/fetch2/gitannex.py +++ b/bitbake/lib/bb/fetch2/gitannex.py @@ -28,7 +28,7 @@ from bb.fetch2 import runfetchcmd from bb.fetch2 import logger class GitANNEX(Git): - def supports(self, url, ud, d): + def supports(self, ud, d): """ Check to see if a given url can be fetched with git. """ @@ -44,7 +44,7 @@ class GitANNEX(Git): return False - def update_annex(self, u, ud, d): + def update_annex(self, ud, d): try: runfetchcmd("%s annex get --all" % (ud.basecmd), d, quiet=True) except bb.fetch.FetchError: @@ -53,13 +53,13 @@ class GitANNEX(Git): return True - def download(self, loc, ud, d): - Git.download(self, loc, ud, d) + def download(self, ud, d): + Git.download(self, ud, d) os.chdir(ud.clonedir) annex = self.uses_annex(ud, d) if annex: - self.update_annex(loc, ud, d) + self.update_annex(ud, d) def unpack(self, ud, destdir, d): Git.unpack(self, ud, destdir, d) -- cgit v1.2.3-54-g00ecf