From: Simon Glass Date: Tue, 26 Jul 2016 00:59:17 +0000 (-0600) Subject: dtoc: Correct quotes in fdt_util X-Git-Tag: v2016.11-rc1~122^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20024daee58906712f71b927bd86951d1ddb469d;p=u-boot dtoc: Correct quotes in fdt_util The style is to use single quotes for strings where possible. Adjust this function. Signed-off-by: Simon Glass --- diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py index 3e25a8b980..32f41d72d7 100644 --- a/tools/dtoc/fdt_util.py +++ b/tools/dtoc/fdt_util.py @@ -22,7 +22,7 @@ def fdt32_to_cpu(val): Return: A native-endian integer value """ - return struct.unpack(">I", val)[0] + return struct.unpack('>I', val)[0] def EnsureCompiled(fname): """Compile an fdt .dts source file into a .dtb binary blob if needed.