diff options
author | Benjamin Trofatter <bentrofatter@gmail.com> | 2012-03-24 18:43:15 -0500 |
---|---|---|
committer | Benjamin Trofatter <bentrofatter@gmail.com> | 2012-03-24 18:43:15 -0500 |
commit | 4b395f679029b8375063e4408ca08a7a860cb99c (patch) | |
tree | f408b56e4fcfe12a47be5d2200f3a659db8ef097 /mako/ext/turbogears.py | |
parent | f7983ce165440bdaeac4d544f393fc76d8ce4cf0 (diff) | |
download | external_python_mako-4b395f679029b8375063e4408ca08a7a860cb99c.tar.gz external_python_mako-4b395f679029b8375063e4408ca08a7a860cb99c.tar.bz2 external_python_mako-4b395f679029b8375063e4408ca08a7a860cb99c.zip |
Brought all modules into PEP 8 width compliance
Diffstat (limited to 'mako/ext/turbogears.py')
-rw-r--r-- | mako/ext/turbogears.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mako/ext/turbogears.py b/mako/ext/turbogears.py index 94e300a..e453ada 100644 --- a/mako/ext/turbogears.py +++ b/mako/ext/turbogears.py @@ -39,7 +39,8 @@ class TGPlugin(object): return Template(template_string, **self.tmpl_options) # Translate TG dot notation to normal / template path if '/' not in templatename: - templatename = '/' + templatename.replace('.', '/') + '.' + self.extension + templatename = '/' + templatename.replace('.', '/') + '.' +\ + self.extension # Lookup template return self.lookup.get_template(templatename) |