Skip to content

Commit

Permalink
Add redundant text_indent arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-evans authored and anandology committed Mar 29, 2011
1 parent fc4b2da commit 077910b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ class TextNode:
def __init__(self, value):
self.value = value

def emit(self, indent):
def emit(self, indent, begin_indent=''):
return repr(safeunicode(self.value))

def __repr__(self):
Expand All @@ -558,7 +558,7 @@ def __init__(self, value, escape=True):

self.escape = escape

def emit(self, indent):
def emit(self, indent, begin_indent=''):
return 'escape_(%s, %s)' % (self.value, bool(self.escape))

def __repr__(self):
Expand Down Expand Up @@ -638,7 +638,7 @@ class StatementNode:
def __init__(self, stmt):
self.stmt = stmt

def emit(self, indent):
def emit(self, indent, begin_indent=''):
return indent + self.stmt

def __repr__(self):
Expand Down

0 comments on commit 077910b

Please sign in to comment.