summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 4cc5811937..2643cda786 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -355,7 +355,8 @@ class Git(FetchMethod):
355 for l in output.split('\n'): 355 for l in output.split('\n'):
356 if s in l: 356 if s in l:
357 return l.split()[0] 357 return l.split()[0]
358 raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output" % ud.unresolvedrev[name]) 358 raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
359 (ud.unresolvedrev[name], ud.host+ud.path))
359 360
360 def latest_versionstring(self, ud, d): 361 def latest_versionstring(self, ud, d):
361 """ 362 """