Skip to content
Commit b1839fcf authored by Manorit Chawdhry's avatar Manorit Chawdhry Committed by Tom Rini
Browse files

dtoc: Change dst to self in debug message



Fix the error message to not use dst and use self as it is copying the
properties to self.

While using templating if there are no subnodes defined, we end up in
this situation where "dst" isn't defined and it tries to print the error
message and fails.

'UnboundLocalError: local variable 'dst' referenced before assignment'

Fixes: 55e1278d ("dtoc: Allow inserting a list of nodes into another")

Signed-off-by: default avatarManorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 2b28c3b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment