Skip to content

Commit 2008295

Browse files
committed
Remove unwanted spaces
1 parent 41e3329 commit 2008295

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/build_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def prepare_toolchain(src_paths, build_dir, target, toolchain_name,
355355
target.name, toolchain_name))
356356

357357
toolchain_name = get_toolchain_name(target, toolchain_name)
358-
358+
359359
try:
360360
cur_tc = TOOLCHAIN_CLASSES[toolchain_name]
361361
except KeyError:
@@ -548,13 +548,13 @@ def build_project(src_paths, build_path, target, toolchain_name,
548548
if clean and exists(build_path):
549549
rmtree(build_path)
550550
mkdir(build_path)
551-
551+
552552
toolchain = prepare_toolchain(
553553
src_paths, build_path, target, toolchain_name, macros=macros,
554554
clean=clean, jobs=jobs, notify=notify, config=config,
555555
app_config=app_config, build_profile=build_profile, ignore=ignore)
556556
toolchain.version_check()
557-
557+
558558
# The first path will give the name to the library
559559
name = (name or toolchain.config.name or
560560
basename(normpath(abspath(src_paths[0]))))

tools/targets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def generate_py_target(new_targets, name):
162162

163163
class Target(namedtuple("Target", "name json_data resolution_order resolution_order_names build_tools_metadata")):
164164
"""An object to represent a Target (MCU/Board)"""
165-
165+
166166
# Default location of the 'targets.json' file
167167
__targets_json_location_default = os.path.join(
168168
os.path.dirname(os.path.abspath(__file__)), '..', '..', 'targets', 'targets.json')

0 commit comments

Comments
 (0)