diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-09-11 10:38:53 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-09-11 10:38:53 -0400 |
| commit | e1086cd37e7075102fe9b895372ecacb98732457 (patch) | |
| tree | 1e93504cb3552f6cbc707f6decd11f0c456bfe23 /mako/ast.py | |
| parent | c5d7b54edc0cf35191e18663e5d35707d1f7592e (diff) | |
| download | external_python_mako-e1086cd37e7075102fe9b895372ecacb98732457.tar.gz external_python_mako-e1086cd37e7075102fe9b895372ecacb98732457.tar.bz2 external_python_mako-e1086cd37e7075102fe9b895372ecacb98732457.zip | |
move the function out to compat so we don't import _ast_util if _ast isn't present
Diffstat (limited to 'mako/ast.py')
| -rw-r--r-- | mako/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/ast.py b/mako/ast.py index cd1d14e..f9ae3e1 100644 --- a/mako/ast.py +++ b/mako/ast.py @@ -8,7 +8,7 @@ code, as well as generating Python from AST nodes""" from mako import exceptions, pyparser, compat -from mako._ast_util import arg_stringname +from mako.compat import arg_stringname import re class PythonCode(object): |
