[bitbake-devel,dunfell,1.46,4/6] siggen: Fix error when hash equivalence has an exception

Submitted by Steve Sakoman on June 30, 2020, 3:08 a.m. | Patch ID: 174073


Message ID 54e601ee9ebb5568a17e83fc5ddd2e89d323f805.1593486375.git.steve@sakoman.com
State New
Headers show

Commit Message

Steve Sakoman June 30, 2020, 3:08 a.m.
From: Joshua Watt <JPEWhacker@gmail.com>

The code that handled exceptions from the hash equivalence client was
raising an exception itself because hashserv.client wasn't imported

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a76290dfc6f34ff9f6efdb13a6db74b6b4759daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
 lib/bb/siggen.py | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 4c8d81c5..94d1762d 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -14,6 +14,7 @@  import simplediff
 from bb.checksum import FileChecksumCache
 from bb import runqueue
 import hashserv
+import hashserv.client
 logger = logging.getLogger('BitBake.SigGen')
 hashequiv_logger = logging.getLogger('BitBake.SigGen.HashEquiv')