[bitbake-devel] [PATCH] Change call to latest_revision() to match parameters in function definition.
Nick D'Ademo
nickdademo at gmail.com
Mon Nov 25 07:26:11 UTC 2013
This fixes the "latest_revision() takes exactly 4 arguments (5 given)" Python TypeError which occurs when attempting to fetch via SSH.
Signed-off-by: Nick D'Ademo <nickdademo at gmail.com>
---
bitbake/lib/bb/fetch2/git.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index b236631..a9470e4 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -125,7 +125,7 @@ class Git(FetchMethod):
if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
if ud.revisions[name]:
ud.branches[name] = ud.revisions[name]
- ud.revisions[name] = self.latest_revision(ud.url, ud, d, name)
+ ud.revisions[name] = self.latest_revision(ud, d, name)
gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.').replace('*', '.'))
# for rebaseable git repo, it is necessary to keep mirror tar ball
--
1.7.9.5
More information about the bitbake-devel
mailing list