diff options
Diffstat (limited to 'mako/compat.py')
-rw-r--r-- | mako/compat.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mako/compat.py b/mako/compat.py index c5ef84b..8e8ee70 100644 --- a/mako/compat.py +++ b/mako/compat.py @@ -94,6 +94,11 @@ except: return func(*(args + fargs), **newkeywords) return newfunc +if py26: + import json +else: + import simplejson as json + if not py25: def all(iterable): for i in iterable: |