]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: fetch/git: fix FetchError reference
authorChristopher Larson <chris_larson@mentor.com>
Tue, 21 Mar 2017 18:41:04 +0000 (11:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Mar 2017 11:35:23 +0000 (11:35 +0000)
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>
bitbake/lib/bb/fetch2/git.py

index e4202323c43bd241e831e1445b6848494250c2ca..a8be859d94f55ac53e0b1fdad213f13ef2089918 100644 (file)
@@ -484,5 +484,5 @@ class Git(FetchMethod):
         try:
             self._lsremote(ud, d, "")
             return True
-        except FetchError:
+        except bb.fetch2.FetchError:
             return False