Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix indentation level for Jinja2ProjectTemplate in scaffolds/__init__.py #27

Merged
merged 1 commit into from Nov 8, 2013

Conversation

Projects
None yet
3 participants
Contributor

bbinet commented Jan 16, 2012

Note that this change has not been tested, but I think it makes sense because if paste_script_template_renderer and PyramidTemplate can be found, Jinja2ProjectTemplate will not be defined.

Owner

tseaver commented May 31, 2012

The patch looks correct to me (note I don't use Jinja).

I do wonder about the staticmethod() wrapped around None (the nested try:..except:), but it seems that is borked either way.

domenkozar added a commit that referenced this pull request Nov 8, 2013

Merge pull request #27 from bbinet/patch-1
fix indentation level for Jinja2ProjectTemplate in scaffolds/__init__.py

@domenkozar domenkozar merged commit 26d4a66 into Pylons:master Nov 8, 2013

Member

domenkozar commented Nov 8, 2013

staticmethod(None) seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment