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

Add is_included jinja variable #72

Merged
merged 1 commit into from
Feb 13, 2019

Conversation

prusse-martin
Copy link
Member

This should resolve #71

@@ -7,16 +7,17 @@
import six


def render_jinja(contents, filename):
def render_jinja(contents, filename, is_included):
import jinja2
import sys
import platform

jinja_dict = {
Copy link
Member Author

Choose a reason for hiding this comment

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

I did put this in alphabetical order and added the "is_included" variable.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

LGTM, we should just add a CHANGELOG entry 👍

@prusse-martin prusse-martin force-pushed the fb-add-is-included branch 3 times, most recently from 287ade0 to ded2b07 Compare February 13, 2019 12:29
@prusse-martin
Copy link
Member Author

Python 2.7 aargh!

@nicoddemus nicoddemus merged commit 9ae5486 into ESSS:master Feb 13, 2019
@ESSS ESSS deleted a comment Feb 13, 2019
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.

Add a way to identify if the current file is the "main" devenv file
2 participants