Skip to content
Commit 368b0e0d authored by Manoel Brunnen's avatar Manoel Brunnen Committed by Anas Nashif
Browse files

twister: Initialise unbound 'hardware' variable



hardware was referenced as return value, without being declared. When the
program goes into the 'except' path, hardware is unbound, but returned,
which throws an error:

`UnboundLocalError`: local variable 'hardware' referenced before assignment

Signed-off-by: default avatarManoel Brunnen <manoel.brunnen@ithinx.io>
parent e8095b1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment