diff options
author | Ron Economos <w6rz@comcast.net> | 2019-03-08 08:18:54 -0800 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-03-08 20:24:48 +0100 |
commit | 25c2c5fbef23550efff8fe5b58ca3695504eab5b (patch) | |
tree | a992738cd3cf80b24a51d6e367841ef0ce64ba0f /gr-utils/python | |
parent | 910758daecb0698d8099c875ae02a189ffca4477 (diff) |
utils: Remove end of line spaces and other whitespace from gr_modtool.
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i | 1 | ||||
-rw-r--r-- | gr-utils/python/modtool/templates/templates.py | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i b/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i index ea05727d94..2e24c12350 100644 --- a/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i +++ b/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i @@ -10,4 +10,3 @@ %{ %} - diff --git a/gr-utils/python/modtool/templates/templates.py b/gr-utils/python/modtool/templates/templates.py index 799f3ba4f0..f3a4e59055 100644 --- a/gr-utils/python/modtool/templates/templates.py +++ b/gr-utils/python/modtool/templates/templates.py @@ -281,7 +281,6 @@ namespace gr { # Block definition header file (for include/) Templates['block_def_h'] = r'''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef INCLUDED_${modname.upper()}_${blockname.upper()}_H #define INCLUDED_${modname.upper()}_${blockname.upper()}_H @@ -353,7 +352,6 @@ ${str_to_python_comment(license)} }[blocktype] %> % if blocktype != 'hier': - import numpy\ <% if blocktype == 'source': @@ -447,7 +445,6 @@ class ${blockname}(${parenttype}): # C++ file for QA (Boost UTF style) Templates['qa_cpp_boostutf'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -466,7 +463,6 @@ BOOST_AUTO_TEST_CASE(test_${blockname}_t1) # C++ file for QA Templates['qa_cpp'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #include <gnuradio/attributes.h> #include <cppunit/TestAssert.h> #include "qa_${blockname}.h" @@ -489,7 +485,6 @@ namespace gr { # Header file for QA Templates['qa_h'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef _QA_${blockname.upper()}_H_ #define _QA_${blockname.upper()}_H_ @@ -521,8 +516,6 @@ namespace gr { Templates['qa_python'] = '''#!/usr/bin/env python # -*- coding: utf-8 -*- ${str_to_python_comment(license)} -# - from gnuradio import gr, gr_unittest from gnuradio import blocks % if lang == 'cpp': @@ -733,7 +726,6 @@ ${modname}_${blockname}::work(int noutput_items, # Block definition header file (for include/) Templates['block_h36'] = r'''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef INCLUDED_${modname.upper()}_${blockname.upper()}_H #define INCLUDED_${modname.upper()}_${blockname.upper()}_H |