Skip to content
Commit 6f72526b authored by Michael McGeagh's avatar Michael McGeagh Committed by patrik.gustavsson
Browse files

MLBEDSW-3685 Fix dangerous default value usage



Pylint W0102:
When a mutable value as list or dictionary is detected in a
default value for an argument.

Replace detected instances with None, and upon checking for None, sets
the default accordingly

Signed-off-by: default avatarMichael McGeagh <michael.mcgeagh@arm.com>
Change-Id: I4eb73d07d01d4cdefa586eb71b9c76746eee3b11
parent 1e05afa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment