From 06dbd82d1ff863e1a4d600bcfd6477c6b75ddd63 Mon Sep 17 00:00:00 2001 From: Naveen Kaje Date: Thu, 17 Jan 2019 12:56:09 -0600 Subject: [PATCH] tools: build_api: remove redundant initialization and fix spelling --- tools/build_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/build_api.py b/tools/build_api.py index 7f459e95be..54c39e59d7 100644 --- a/tools/build_api.py +++ b/tools/build_api.py @@ -417,7 +417,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'): Positional Arguments: region_list - list of regions, which should contain filenames destination - file name to write all regions to - padding - bytes to fill gapps with + padding - bytes to fill gaps with """ merged = IntelHex() _, format = splitext(destination) @@ -585,7 +585,6 @@ def build_project(src_paths, build_path, target, toolchain_name, copy_when_different(join(build_path, art), into_dir) memap_instance = getattr(toolchain, 'memap_instance', None) - memap_table = '' if memap_instance: # Write output to stdout in text (pretty table) format memap_table = memap_instance.generate_output('table', stats_depth)