Iterating the dictionary directly instead of calling .keys()

This commit is contained in:
Ivan Kravets
2016-07-09 15:16:42 +03:00
parent e33e950712
commit a73a710364
5 changed files with 6 additions and 6 deletions
@@ -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):