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

Don't append separator for paragraph type. #382

Merged
merged 1 commit into from
Jun 3, 2018

Conversation

vermeeren
Copy link
Collaborator

@vermeeren vermeeren commented Jun 3, 2018

Another way to fix this is to include only text types, but there may
be other types (enums?) that do need the separator. For now exclude only
paragraph type.

Closes #381.

@vermeeren vermeeren self-assigned this Jun 3, 2018
@vermeeren vermeeren added bug Problem in existing code code Source code regression Something broke that worked in the past labels Jun 3, 2018
Another way to fix this is to include only text types, but there may
be other types (enums?) that do need the separator. For now exclude only
paragraph type.

Closes #381.
@vermeeren vermeeren force-pushed the 381-paragraph-has-no-attribute-startswith branch from bbdb870 to 63def4b Compare June 3, 2018 14:29
@vermeeren
Copy link
Collaborator Author

As for why we don't append separators. With reproduction project it would have put = in places it shouldn't, such as in the middle of some constant array list. { 12, 17, 34, 24 }.

@vermeeren
Copy link
Collaborator Author

Two friends reviewed changes and approved. CI approves too. Merging for 4.9.1.

@vermeeren vermeeren merged commit 40805ec into master Jun 3, 2018
@vermeeren vermeeren deleted the 381-paragraph-has-no-attribute-startswith branch June 3, 2018 14:38
vermeeren added a commit that referenced this pull request Jun 3, 2018
vermeeren added a commit that referenced this pull request Jun 4, 2018
…ute-startswith

Don't append separator for paragraph type.
vermeeren added a commit that referenced this pull request Jun 4, 2018
vermeeren added a commit that referenced this pull request Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem in existing code code Source code regression Something broke that worked in the past
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'paragraph' object has no attribute 'startswith'
1 participant