diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-27 07:38:29 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-02 10:18:20 -0600 |
commit | ec3f378a31602a2193ba8735323b71a4e63401da (patch) | |
tree | 1ae5dcebcde834980ddfb6eb203ad29dec7cb918 /tools/binman/func_test.py | |
parent | 7b75b4482ddee4ea8248f1f64f2b0d1c752dd273 (diff) |
binman: Rename fdt variable to dtb
Since fdt is the name of a module, use a different name for variables to
avoid a conflict.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/func_test.py')
-rw-r--r-- | tools/binman/func_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/func_test.py b/tools/binman/func_test.py index 7328d03b5c..8960e23f2c 100644 --- a/tools/binman/func_test.py +++ b/tools/binman/func_test.py @@ -658,8 +658,8 @@ class TestFunctional(unittest.TestCase): fname = tools.GetOutputFilename('test.dtb') with open(fname, 'wb') as fd: fd.write(second) - fdt = fdt_select.FdtScan(fname) - ucode = fdt.GetNode('/microcode') + dtb = fdt.FdtScan(fname) + ucode = dtb.GetNode('/microcode') self.assertTrue(ucode) for node in ucode.subnodes: self.assertFalse(node.props.get('data')) |