[oe-commits] [bitbake] 03/04: siggen: Fix attribute error when hashserver fails
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 26 20:39:51 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 51bb9848bfa7a967043617f849b58eafa7e7b051
Author: Joshua Watt <jpewhacker at gmail.com>
AuthorDate: Thu Sep 26 12:53:57 2019 -0500
siggen: Fix attribute error when hashserver fails
The HashConnectionError class was moved to the client module and needs
to be updated.
[YOCTO #13537]
Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/siggen.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index bb660d2..a4bb1ff 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -442,7 +442,7 @@ class SignatureGeneratorUniHashMixIn(object):
bb.debug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
else:
bb.debug(2, 'No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
- except hashserv.HashConnectionError as e:
+ except hashserv.client.HashConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
self.unitaskhashes[key] = unihash
@@ -510,7 +510,7 @@ class SignatureGeneratorUniHashMixIn(object):
bb.event.fire(bb.runqueue.taskUniHashUpdate(fn + ':do_' + task, new_unihash), d)
else:
bb.debug(1, 'Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
- except hashserv.HashConnectionError as e:
+ except hashserv.client.HashConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
finally:
if sigfile:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list