Skip to content

Conversation

mark-edgeworth
Copy link
Collaborator

Since python 3 compatibility is not yet complete I've adjusted the warning message so that it no longer mentions the mbed-os version. Also the message is only printed as a warning once at the start. Previously it appeared again in a slightly different form if mbed CLI threw any exception.

Copy link
Collaborator

@madchutney madchutney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

if very_verbose:
traceback.print_exc(file=sys.stdout)
error("Unknown Error: %s" % e, 255)
finally:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a strange thing to do in the first case, definitely good to remove it as it was generated even if there weren't any exceptions.

@mark-edgeworth mark-edgeworth merged commit 15886f8 into master Jun 19, 2019
@mark-edgeworth mark-edgeworth deleted the btool-47_python3_warning branch June 19, 2019 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants