diff options
author | Michael Stone <michael@laptop.org> | 2011-03-06 16:58:27 -0500 |
---|---|---|
committer | Michael Stone <michael@laptop.org> | 2011-03-06 16:58:27 -0500 |
commit | 1a003b7366aa8d90e51603d12aa738db728c255f (patch) | |
tree | 691653aa1c16447227fc250d08a20c473bdefb4c /lib/chutney/Templating.py | |
parent | 8964c640fe0e7d92715f8f5d5a3bf4a72a67bf78 (diff) | |
download | chutney-1a003b7366aa8d90e51603d12aa738db728c255f.tar chutney-1a003b7366aa8d90e51603d12aa738db728c255f.tar.gz |
Use new-style objects.
Diffstat (limited to 'lib/chutney/Templating.py')
-rw-r--r-- | lib/chutney/Templating.py | 6 |
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=(".",)): |