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

catch the assert error #888

Merged
merged 2 commits into from
Jan 31, 2017
Merged

catch the assert error #888

merged 2 commits into from
Jan 31, 2017

Conversation

denniswambua
Copy link
Contributor

Fixes csv export errors

Signed-off-by: Dennis Wambua [email protected]

try:
item = get_ordered_repeat_value(key, item)
except AssertionError:
pass
Copy link
Member

Choose a reason for hiding this comment

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

why bother throwing the assert error if we're not going to do anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure why it was added. I am removing it and test if breaks something

Signed-off-by: Dennis Wambua <[email protected]>
Signed-off-by: Dennis Wambua <[email protected]>
@denniswambua
Copy link
Contributor Author

@pld assert error removed

@denniswambua denniswambua merged commit cdde216 into master Jan 31, 2017
@denniswambua denniswambua deleted the 1330-csv-export-fix branch January 31, 2017 08:24
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