summaryrefslogtreecommitdiff
path: root/pystache/parser.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-20 13:53:12 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-20 13:53:12 -0700
commitb8859ff5c9bfb139621723c351273a6aa32c1ba1 (patch)
treefe1e4e6af47e6614e88257437c1b165c63188915 /pystache/parser.py
parent34ca106c1aac8dad7cfc504ddfa5f9c24d1967b7 (diff)
parentd0c65dd9aefa432bc056a78f204474ddc7b5fb04 (diff)
downloadpystache-b8859ff5c9bfb139621723c351273a6aa32c1ba1.tar.gz
Merge remote-tracking branch 'BreakawayConsulting/issue-135-default-delimiters' into issue-135
This is the initial patch for issue #135 from @bennoleslie.
Diffstat (limited to 'pystache/parser.py')
-rw-r--r--pystache/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pystache/parser.py b/pystache/parser.py
index 8dc74b5..c6a171f 100644
--- a/pystache/parser.py
+++ b/pystache/parser.py
@@ -7,7 +7,7 @@ Exposes a parse() function to parse template strings.
import re
-from pystache.defaults import DELIMITERS
+from pystache import defaults
from pystache.parsed import ParsedTemplate
@@ -228,7 +228,7 @@ class _Parser(object):
def __init__(self, delimiters=None):
if delimiters is None:
- delimiters = DELIMITERS
+ delimiters = defaults.DELIMITERS
self._delimiters = delimiters