tools: fix brackets in format parameters

Signed-off-by: Axel Heider <axelheider@gmx.de>
This commit is contained in:
Axel Heider
2020-05-04 00:38:25 +02:00
parent a631ee42d8
commit fb71ef926a

View File

@@ -233,7 +233,7 @@ class HardwareYaml:
return self.rules[compat]
raise ValueError('Failed to match compatibles "{}" for node {}!'.format(
', '.join(device.get_prop('compatible').strings, device.path)))
', '.join(device.get_prop('compatible').strings), device.path))
def get_matched_compatible(self, device: WrappedNode) -> str:
''' Returns the best matching compatible string for this device '''