diff options
author | Marcus Müller <marcus@hostalia.de> | 2018-06-25 19:28:29 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-06-25 19:28:29 +0200 |
commit | 03ae7938351f01313d30a41927ffb77670fcca14 (patch) | |
tree | 586744f0e2b7560dc161f2a7a60030155d43ce8a /gr-utils/python/modtool/code_generator.py | |
parent | d78f7fcd0dadd362fcdc99194da5343a506eb519 (diff) | |
parent | c66aec4dfae559004e88da968d1ce57584e144ee (diff) |
Merge branch 'next_python3' into next
This brings Python3 to `next`.
It also brings
* a bump in SWIG dependency version
* various GRC improvements,
* YAML instead of XML in GRC
* a lot of broken unit tests
Diffstat (limited to 'gr-utils/python/modtool/code_generator.py')
-rw-r--r-- | gr-utils/python/modtool/code_generator.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gr-utils/python/modtool/code_generator.py b/gr-utils/python/modtool/code_generator.py index 326b2d5986..d95434f577 100644 --- a/gr-utils/python/modtool/code_generator.py +++ b/gr-utils/python/modtool/code_generator.py @@ -19,14 +19,16 @@ # Boston, MA 02110-1301, USA. # """ A code generator (needed by ModToolAdd) """ +from __future__ import absolute_import +from __future__ import unicode_literals from mako.template import Template -from templates import Templates -from util_functions import str_to_fancyc_comment -from util_functions import str_to_python_comment -from util_functions import strip_default_values -from util_functions import strip_arg_types -from util_functions import strip_arg_types_grc +from .templates import Templates +from .util_functions import str_to_fancyc_comment +from .util_functions import str_to_python_comment +from .util_functions import strip_default_values +from .util_functions import strip_arg_types +from .util_functions import strip_arg_types_grc GRTYPELIST = { 'sync': 'sync_block', |