[bitbake-devel] siggen: Fix error when hash equivalence has an exception

Submitted by Joshua Watt on June 25, 2020, 2:13 p.m. | Patch ID: 173913

Details

Message ID 20200625141320.8979-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt June 25, 2020, 2:13 p.m.
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>
---
 bitbake/lib/bb/siggen.py | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 872333d7fd..4c63b0baad 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/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')