Merge pull request #9418 from naveenkaje/build_api_spell_fix

tools: build_api: remove redundant initialization and fix spelling
pull/9442/head^2
Martin Kojtal 2019-01-18 14:38:41 +01:00 committed by GitHub
commit 8f48104842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -417,7 +417,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
Positional Arguments: Positional Arguments:
region_list - list of regions, which should contain filenames region_list - list of regions, which should contain filenames
destination - file name to write all regions to destination - file name to write all regions to
padding - bytes to fill gapps with padding - bytes to fill gaps with
""" """
merged = IntelHex() merged = IntelHex()
_, format = splitext(destination) _, 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) copy_when_different(join(build_path, art), into_dir)
memap_instance = getattr(toolchain, 'memap_instance', None) memap_instance = getattr(toolchain, 'memap_instance', None)
memap_table = ''
if memap_instance: if memap_instance:
# Write output to stdout in text (pretty table) format # Write output to stdout in text (pretty table) format
memap_table = memap_instance.generate_output('table', stats_depth) memap_table = memap_instance.generate_output('table', stats_depth)