diff options
author | Kevin Yank <thatguy@kevinyank.com> | 2013-09-15 15:21:28 +1000 |
---|---|---|
committer | Kevin Yank <thatguy@kevinyank.com> | 2013-09-15 15:21:28 +1000 |
commit | 76c509e72bc948d02f5a2a3797e4906864a174ba (patch) | |
tree | 5fe769718426918ca7d099397913eb79ab4ee19d /pystache/parser.py | |
parent | 367305df9e2a4afe2dd9d31a987ca3b94b476780 (diff) | |
download | pystache-76c509e72bc948d02f5a2a3797e4906864a174ba.tar.gz |
Fix another Python 3.3 syntax error.
Diffstat (limited to 'pystache/parser.py')
-rw-r--r-- | pystache/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pystache/parser.py b/pystache/parser.py index c3c5ef0..ae8fc0e 100644 --- a/pystache/parser.py +++ b/pystache/parser.py @@ -147,7 +147,7 @@ class _PartialNode(object): def render(self, engine, context): template = engine.resolve_partial(self.key) # Indent before rendering. - template = re.sub(NON_BLANK_RE, self.indent + ur'\1', template) + template = re.sub(NON_BLANK_RE, self.indent + u'\\1', template) return engine.render(template, context) |