bitbake: fetch/git: fix FetchError reference

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

(Bitbake rev: 945fa980e027753df2c21d84eb63dcaddb2caaee)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson authored and Richard Purdie committed 2017-03-22 11:35:23 +00:00
1 parent 754e98c72e
commit f4a9248975
1 file changed
+1 -1
+1 -1
View File
@@ -484,5 +484,5 @@ class Git(FetchMethod):
try:
self._lsremote(ud, d, "")
return True
except FetchError:
except bb.fetch2.FetchError:
return False