aboutsummaryrefslogtreecommitdiff
path: root/lib/chutney/Templating.py
diff options
context:
space:
mode:
authorMichael Stone <michael@laptop.org>2011-03-06 16:58:27 -0500
committerMichael Stone <michael@laptop.org>2011-03-06 16:58:27 -0500
commit1a003b7366aa8d90e51603d12aa738db728c255f (patch)
tree691653aa1c16447227fc250d08a20c473bdefb4c /lib/chutney/Templating.py
parent8964c640fe0e7d92715f8f5d5a3bf4a72a67bf78 (diff)
downloadchutney-1a003b7366aa8d90e51603d12aa738db728c255f.tar
chutney-1a003b7366aa8d90e51603d12aa738db728c255f.tar.gz
Use new-style objects.
Diffstat (limited to 'lib/chutney/Templating.py')
-rw-r--r--lib/chutney/Templating.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chutney/Templating.py b/lib/chutney/Templating.py
index 327a154..eb8586f 100644
--- a/lib/chutney/Templating.py
+++ b/lib/chutney/Templating.py
@@ -70,7 +70,7 @@ import os
_KeyError = KeyError
-class _DictWrapper:
+class _DictWrapper(object):
def __init__(self, parent=None):
self._parent = parent
@@ -162,7 +162,7 @@ class _BetterTemplate(string.Template):
def __init__(self, template):
string.Template.__init__(self, template)
-class _FindVarsHelper:
+class _FindVarsHelper(object):
def __init__(self, dflts):
self._dflts = dflts
self._vars = set()
@@ -173,7 +173,7 @@ class _FindVarsHelper:
except KeyError:
return ""
-class Template:
+class Template(object):
MAX_ITERATIONS = 32
def __init__(self, pattern, includePath=(".",)):