Skip to content
Commit f4c54fcb authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Benjamin Cabé
Browse files

code_relocation: fix ruff SIM102 warning



The ruff python linter produces a SIM102 warning when there are nested if
statements which can be collapsed into a single if statement:

    if foo:
        if bar:
	    ...

...becomes...

    if foo and bar:
        ...

This patch corrects the single instance of this issue in the script.

Signed-off-by: default avatarJoel Holdsworth <jholdsworth@nvidia.com>
parent 3db20541
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment