Skip to content

Commit 52533b3

Browse files
committed
ci(arduino-cli): remove useless code
Signed-off-by: Frederic Pillon <[email protected]>
1 parent f8bb3f3 commit 52533b3

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

CI/build/arduino-cli.py

+9-11
Original file line numberDiff line numberDiff line change
@@ -745,17 +745,15 @@ def build_config(sketch, boardSkipped):
745745
else:
746746
# get specific sketch options to append to the fqbn
747747
for pattern in sketch_options:
748-
print
749-
if pattern in sketch_options:
750-
if re.search(pattern, str(sketch), re.IGNORECASE):
751-
if build_conf_list[idx][4][-2].count(":") == 3:
752-
build_conf_list[idx][4][-2] += (
753-
"," + sketch_options[pattern]
754-
)
755-
else:
756-
build_conf_list[idx][4][-2] += (
757-
":" + sketch_options[pattern]
758-
)
748+
if re.search(pattern, str(sketch), re.IGNORECASE):
749+
if build_conf_list[idx][4][-2].count(":") == 3:
750+
build_conf_list[idx][4][-2] += (
751+
"," + sketch_options[pattern]
752+
)
753+
else:
754+
build_conf_list[idx][4][-2] += (
755+
":" + sketch_options[pattern]
756+
)
759757
return build_conf_list
760758

761759

0 commit comments

Comments
 (0)