diff options
author | Christopher Larson <chris_larson@mentor.com> | 2017-03-21 11:41:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-22 11:35:23 +0000 |
commit | f4a924897544e634aaa61b6d9863b46bfb799577 (patch) | |
tree | ca098704c617fddabfdbb7df8bfd344bef2204d8 /bitbake/lib/bb/fetch2/git.py | |
parent | 754e98c72ea4a4f5a16615362038c91e05fa2602 (diff) | |
download | poky-f4a924897544e634aaa61b6d9863b46bfb799577.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | 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 e4202323c4..a8be859d94 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -484,5 +484,5 @@ class Git(FetchMethod): | |||
484 | try: | 484 | try: |
485 | self._lsremote(ud, d, "") | 485 | self._lsremote(ud, d, "") |
486 | return True | 486 | return True |
487 | except FetchError: | 487 | except bb.fetch2.FetchError: |
488 | return False | 488 | return False |