1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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
2017-03-21 11:41:04 -07:00
committed by Richard Purdie
parent 754e98c72e
commit f4a9248975
+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