summaryrefslogtreecommitdiff
path: root/pystache
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-03-27 13:15:05 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-03-27 13:15:05 -0700
commit9909ec904f524f341b92668ceb78d58314186ae3 (patch)
tree79c65e034062ce93f4f8760861d3dcd4734b6924 /pystache
parent1b18fb837f72f9e78d0a59c3f460fcdab1707ece (diff)
downloadpystache-9909ec904f524f341b92668ceb78d58314186ae3.tar.gz
Renamed Reader class to Loader.
Diffstat (limited to 'pystache')
-rw-r--r--pystache/custom_template.py3
-rw-r--r--pystache/loader.py2
-rw-r--r--pystache/renderer.py3
3 files changed, 5 insertions, 3 deletions
diff --git a/pystache/custom_template.py b/pystache/custom_template.py
index c6ce88f..3b51c28 100644
--- a/pystache/custom_template.py
+++ b/pystache/custom_template.py
@@ -9,7 +9,8 @@ import os.path
from .context import Context
from .locator import Locator as TemplateLocator
-from .loader import Reader
+# TODO: remove this alias.
+from pystache.loader import Loader as Reader
from .renderer import Renderer
diff --git a/pystache/loader.py b/pystache/loader.py
index f069d00..7c56929 100644
--- a/pystache/loader.py
+++ b/pystache/loader.py
@@ -14,7 +14,7 @@ import sys
DEFAULT_DECODE_ERRORS = 'strict'
-class Reader(object):
+class Loader(object):
def __init__(self, encoding=None, decode_errors=None):
"""
diff --git a/pystache/renderer.py b/pystache/renderer.py
index b5f469c..92ac7ac 100644
--- a/pystache/renderer.py
+++ b/pystache/renderer.py
@@ -10,9 +10,10 @@ import os
import sys
from .context import Context
+# TODO: remove this alias.
+from .loader import Loader as Reader
from .locator import DEFAULT_EXTENSION
from .locator import Locator
-from .loader import Reader
from .renderengine import RenderEngine