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

Improve error when file referenced in template is missing #3061

Merged
merged 1 commit into from Apr 23, 2018

Conversation

tbm
Copy link
Contributor

@tbm tbm commented Apr 23, 2018

Fixes #3055

Pull Request Checklist

  • I’ve read the guidelines for contributing.
  • I updated AUTHORS.txt and CHANGES.txt (if the change is non-trivial) and documentation (if applicable).
  • I tested my changes.

Copy link
Contributor

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

LGTM!

deps[i] = dep
else:
LOGGER.error("Cannot find template {0} referenced in {1}",
d, filename)
Copy link
Contributor

Choose a reason for hiding this comment

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

flake8 complains here: nikola/plugins/template/mako.py:73:21: E128 continuation line under-indented for visual indent

@tbm
Copy link
Contributor Author

tbm commented Apr 23, 2018

I fixed the issue flagged by flake8. Sorry about that.

@felixfontein
Copy link
Contributor

No problem. Such things happen to me all the time ;)

@felixfontein felixfontein merged commit cabdff6 into getnikola:master Apr 23, 2018
@felixfontein
Copy link
Contributor

Thanks for fixing this!

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

2 participants