Skip to content

Commit 7871c06

Browse files
committed
Fix python errors
1 parent 1f73607 commit 7871c06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mbed/mbed.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,8 @@ def set_defaults(self, target=None, toolchain=None):
17601760
if toolchain and not self.get_cfg('TOOLCHAIN'):
17611761
self.set_cfg('TOOLCHAIN', toolchain)
17621762

1763-
def get_macros(self, macros=[]):
1763+
def get_macros(self, more_macros=False):
1764+
macros = more_macros or []
17641765
# backwards compatibility with old MACROS.txt file
17651766
if os.path.isfile('MACROS.txt'):
17661767
with open('MACROS.txt') as f:

0 commit comments

Comments
 (0)