Skip to content

Commit 5d6da9c

Browse files
committed
fixup! boards.txt.py - use keywords for re.sub count=... and flags=...
1 parent 6b2e193 commit 5d6da9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/boards.txt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ def package ():
18771877
substitution += ',\n'.join(board_items)
18781878
substitution += '\n ],'
18791879

1880-
newfilestr = re.sub(r'"boards":[^\]]*\],', substitution, count=filestr, flags=re.MULTILINE)
1880+
newfilestr = re.sub(r'"boards":[^\]]*\],', substitution, filestr, flags=re.MULTILINE)
18811881

18821882
# To get consistent indent/formatting read the JSON and write it out programmatically
18831883
if packagegen:

0 commit comments

Comments
 (0)