From 06ea053419b4e472a4850263bd0ccd12841f65df Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Fri, 25 Jan 2019 09:42:47 -0600 Subject: [PATCH] Minor fixes --- features/nanostack/mbed_lib.json | 2 +- tools/resources/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/nanostack/mbed_lib.json b/features/nanostack/mbed_lib.json index f3130ab2ff..d11185e9f1 100644 --- a/features/nanostack/mbed_lib.json +++ b/features/nanostack/mbed_lib.json @@ -1,3 +1,3 @@ { - "name": "nanostack" + "name": "nanostack-upper" } diff --git a/tools/resources/__init__.py b/tools/resources/__init__.py index e867d21e97..251ff01559 100644 --- a/tools/resources/__init__.py +++ b/tools/resources/__init__.py @@ -263,9 +263,9 @@ class Resources(object): if self._libs_filtered is None: return list(self._file_refs[file_type]) else: - to_ret = [] - for ref in self._file_refs[file_type]: - _, path = ref + to_ret = [] + for ref in self._file_refs[file_type]: + _, path = ref if not any( path.startswith(dirname(e.path)) for e in self._excluded_libs ):