aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2017-03-21 11:41:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-21 21:04:41 +0000
commit945fa980e027753df2c21d84eb63dcaddb2caaee (patch)
tree8f0801d7402e267aba529bcf3ffd78fd129821eb
parent955cbfdaa2400d15ec428b65848e6835c9f44860 (diff)
downloadbitbake-945fa980e027753df2c21d84eb63dcaddb2caaee.tar.gz
fetch/git: fix FetchError reference
FetchError isn't defined, use bb.fetch2.FetchError in this context. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index e4202323c..a8be859d9 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -484,5 +484,5 @@ class Git(FetchMethod):
try:
self._lsremote(ud, d, "")
return True
- except FetchError:
+ except bb.fetch2.FetchError:
return False