[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5259/8267] bitbake: fetch/git: fix FetchError reference
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5259/8267] bitbake: fetch/git: fix FetchError reference
- Date: Sun, 17 Dec 2017 03:11:19 +0000 (UTC)
commit f4a924897544e634aaa61b6d9863b46bfb799577
Author: Christopher Larson <chris_larson mentor com>
Date: Tue Mar 21 11:41:04 2017 -0700
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>
bitbake/lib/bb/fetch2/git.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index e420232..a8be859 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]