Iterating the dictionary directly instead of calling .keys()
This commit is contained in:
@@ -86,7 +86,7 @@ MBED_LIBS_MAP = {
|
||||
|
||||
def get_mbedlib_includes():
|
||||
result = []
|
||||
for lib in MBED_LIBS_MAP.keys():
|
||||
for lib in MBED_LIBS_MAP:
|
||||
includes = []
|
||||
lib_dir = join(env.subst("$PLATFORMFW_DIR"), "libs", lib)
|
||||
for _, _, files in walk(lib_dir):
|
||||
|
||||
Reference in New Issue
Block a user