[oe-commits] [bitbake] 10/11: fetch/git: fix FetchError reference

git at git.openembedded.org git at git.openembedded.org
Tue Mar 21 21:11:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 945fa980e027753df2c21d84eb63dcaddb2caaee
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Tue Mar 21 11:41:04 2017 -0700

    fetch/git: fix FetchError reference
    
    FetchError isn't defined, use bb.fetch2.FetchError in this context.
    
    Signed-off-by: Christopher Larson <chris_larson at mentor.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index e420232..a8be859 100644
--- a/lib/bb/fetch2/git.py
+++ b/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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list