From: Christopher Larson Date: Tue, 21 Mar 2017 18:41:04 +0000 (-0700) Subject: bitbake: fetch/git: fix FetchError reference X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4a924897544e634aaa61b6d9863b46bfb799577;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index e4202323c43..a8be859d94f 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/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