Skip to content

tools: build_api: remove redundant initialization and fix spelling #9418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tools/build_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down