summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-27 11:21:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-28 12:51:52 +0100
commitf500504b81b3369d11ec151918004507e87e5026 (patch)
treedf7ee30312ece75db548e9dc0d901afbe3495d2d /bitbake/lib/bb
parentd04792b2ed74e1af115c1d5f4e4ea30beb610a12 (diff)
downloadpoky-f500504b81b3369d11ec151918004507e87e5026.tar.gz
bitbake: fetch2/git: log exception if ls-remote fails
(Bitbake rev: 8212446de11c0e370c55f88cde86334b760cd939) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-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 35e0db56cf..3de83bed17 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -595,7 +595,8 @@ class Git(FetchMethod):
595 tagregex = re.compile(d.getVar('UPSTREAM_CHECK_GITTAGREGEX') or "(?P<pver>([0-9][\.|_]?)+)") 595 tagregex = re.compile(d.getVar('UPSTREAM_CHECK_GITTAGREGEX') or "(?P<pver>([0-9][\.|_]?)+)")
596 try: 596 try:
597 output = self._lsremote(ud, d, "refs/tags/*") 597 output = self._lsremote(ud, d, "refs/tags/*")
598 except bb.fetch2.FetchError or bb.fetch2.NetworkAccess: 598 except (bb.fetch2.FetchError, bb.fetch2.NetworkAccess) as e:
599 bb.note("Could not list remote: %s" % str(e))
599 return pupver 600 return pupver
600 601
601 verstring = "" 602 verstring = ""