Skip to content

Commit 6afe50f

Browse files
Add default empty list if no exceptions
This was failing if no exceptions were supplied. Signed-off-by: David Horstmann <david.horstmann@arm.com>
1 parent ffee036 commit 6afe50f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/bin/mbedtls-move-to-framework

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def main() -> int:
267267
' (e.g. "tests/scripts" or "tests/scripts:foo")')
268268
parser.add_argument('--except', action='append', nargs='?',
269269
dest='file_exceptions',
270+
default=[],
270271
help='Exceptions to --path arguments'
271272
' (Files or directories not to move')
272273
parser.add_argument('--from', dest='from_repo',

0 commit comments

Comments
 (0)