diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 3 |
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 = "" |