Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review error message raised in exceptions #173

Merged
merged 19 commits into from Jun 12, 2019
Merged

Review error message raised in exceptions #173

merged 19 commits into from Jun 12, 2019

Conversation

xadupre
Copy link
Collaborator

@xadupre xadupre commented Jun 7, 2019

No description provided.

@@ -464,7 +465,7 @@ def _generate_unique_name(seed, existing_names):
:return: a string similar to the seed
"""
if seed == '':
raise ValueError('Name seed must be an non-empty string')
raise ValueError('Name seed must be an non-empty string.')
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: a non-empty instead of an non-empty.

@xadupre xadupre merged commit f427759 into onnx:master Jun 12, 2019
@xadupre xadupre deleted the raise branch September 30, 2019 14:42
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.

None yet

3 participants