Change call to latest_revision() to match parameters in function definition.
PATCH 1/1 Change call to latest_revision() to match parameters in function definition.
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 <[email protected]>
--- bitbake/lib/bb/fetch2/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/fetch2/git.py +1 -1
@@ -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
Signature · 1 line
1.7.9.5