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

Avoid imports error when default_language is present but no translations #2077

Merged
merged 4 commits into from
Dec 8, 2018

Conversation

noliveleger
Copy link
Contributor

fixes #2073

@noliveleger noliveleger requested a review from jnm November 14, 2018 20:12
kpi/models/asset.py Outdated Show resolved Hide resolved
kpi/models/asset.py Show resolved Hide resolved
# logging does not print to stdout when RAVEN/sentry is activated.
# To avoid to call logging.getLogger everywhere, we overload logging
logging = get_default_logger()


Copy link
Member

Choose a reason for hiding this comment

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

PEP-8 really requires \n\n\n at the end of a file? I guess I don't like the BDFL's taste in whitespace 😲
(just commentary, not a request for any change to the code)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I made the mistake.
There are too many. There should be only 1.

@jnm jnm merged commit 8109602 into master Dec 8, 2018
@jnm jnm deleted the 2073-value-error-translation-not-found branch December 8, 2018 08:01
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.

ValueError: translation cannot be found when importing XLSForm
2 participants