Skip to content

Commit

Permalink
Add --plain switch to 'yotta search' command to avoid colors
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemekWirkus committed Oct 22, 2015
1 parent a9ba8f3 commit d79cbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbed_greentea/mbed_target_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_mbed_targets_from_yotta(mbed_classic_name):
Note: Function prints on console
"""
result = []
cmd = ['yotta', 'search', '-k', 'mbed-target:%s'% mbed_classic_name.lower().strip(), 'target']
cmd = ['yotta', '--plain', 'search', '-k', 'mbed-target:%s'% mbed_classic_name.lower().strip(), 'target']
gt_log("yotta search for mbed-target '%s'"% gt_bright(mbed_classic_name.lower().strip()))
gt_log_tab("calling yotta: %s"% " ".join(cmd))
_stdout, _stderr, _ret = run_cli_process(cmd)
Expand Down

0 comments on commit d79cbb8

Please sign in to comment.