[bitbake-devel] [PATCH 4/4] fetch/git: fix FetchError reference

Christopher Larson kergoth at gmail.com
Tue Mar 21 18:41:04 UTC 2017


From: Christopher Larson <chris_larson at mentor.com>

FetchError isn't defined, use bb.fetch2.FetchError in this context.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 lib/bb/fetch2/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index e420232..a8be859 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
-- 
2.8.0




More information about the bitbake-devel mailing list