Patchwork [bitbake-devel] bitbake: fetch2: Remove the unused urldata from the git fetcher.

login
register
mail settings
Submitter Florin Sarbu
Date Nov. 25, 2013, 10:33 a.m.
Message ID <1385375630-4260-1-git-send-email-florin.sarbu@windriver.com>
Download mbox | patch
Permalink /patch/62277/
State New
Headers show

Comments

Florin Sarbu - Nov. 25, 2013, 10:33 a.m.
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
---
 bitbake/lib/bb/fetch2/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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