Skip to content

Commit 6a83374

Browse files
committed
pep8 changes
1 parent aa950fa commit 6a83374

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

roundup/cgi/engine_zopetal.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
GlobalTranslationService.setGlobalTranslationService(translationService)
1717

18+
1819
class Loader(TALLoaderBase):
1920
templates = {}
2021

@@ -62,6 +63,7 @@ def load(self, tplname):
6263
self.templates[src] = pt
6364
return pt
6465

66+
6567
class RoundupPageTemplate(PageTemplate.PageTemplate):
6668
"""A Roundup-specific PageTemplate.
6769
@@ -79,7 +81,8 @@ def render(self, client, classname, request, **options):
7981
__traceback_supplement__ = (PageTemplate.PageTemplateTracebackSupplement, self)
8082

8183
if self._v_errors:
82-
raise PageTemplate.PTRuntimeError('Page Template %s has errors.'%self.id)
84+
raise PageTemplate.PTRuntimeError('Page Template %s has errors.' %
85+
self.id)
8386

8487
# figure the context
8588
c = context(client, self, classname, request)
@@ -88,6 +91,6 @@ def render(self, client, classname, request, **options):
8891
# and go
8992
output = StringIO()
9093
TALInterpreter.TALInterpreter(self._v_program, self.macros,
91-
getEngine().getContext(c), output, tal=1, strictinsert=0)()
94+
getEngine().getContext(c), output,
95+
tal=1, strictinsert=0)()
9296
return output.getvalue()
93-

0 commit comments

Comments
 (0)