diff options
author | Swapnil Negi <swapnil.negi09@gmail.com> | 2019-03-01 11:07:56 +0530 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2019-03-04 11:42:05 +0100 |
commit | 3dcefba3916cfc049ff9a833f62da14cad14108c (patch) | |
tree | 149d39f59bd38bc5678ba52aa3a04a65497f1bc7 /gr-utils/python | |
parent | 3452126400c596ff0f7ca2bf585364a6792f98fc (diff) |
Modtool: Fix .yml template for grc bindings
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/templates/templates.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-utils/python/modtool/templates/templates.py b/gr-utils/python/modtool/templates/templates.py index f051c3d0f9..799f3ba4f0 100644 --- a/gr-utils/python/modtool/templates/templates.py +++ b/gr-utils/python/modtool/templates/templates.py @@ -30,7 +30,7 @@ Templates = {} # Default licence Templates['defaultlicense'] = ''' -Copyright %d ${copyrightholder}. +Copyright %d {copyrightholder}. This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -339,7 +339,6 @@ namespace gr { Templates['block_python'] = '''#!/usr/bin/env python # -*- coding: utf-8 -*- ${str_to_python_comment(license)} -#\ <% if blocktype == 'noblock': return @@ -552,7 +551,7 @@ if __name__ == '__main__': Templates['grc_yml'] = '''id: ${modname}_${blockname} label: ${blockname} -category: [${modname}] +category: '[${modname}]' templates: imports: import ${modname} |