diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
commit | 597b93798a804cde1783d6d2ab53b348d57c44cd (patch) | |
tree | b65e73bb0de634ff5d209b15971ebdabf369a45c /gr-analog/python | |
parent | 1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff) |
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-analog/python')
-rw-r--r-- | gr-analog/python/analog/__init__.py | 10 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_agc.py | 2 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_cpfsk.py | 2 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_ctcss_squelch.py | 2 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_dpll.py | 2 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_phase_modulator.py | 4 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_pwr_squelch.py | 4 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_quadrature_demod.py | 4 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_rail_ff.py | 2 | ||||
-rwxr-xr-x | gr-analog/python/analog/qa_simple_squelch.py | 2 |
10 files changed, 17 insertions, 17 deletions
diff --git a/gr-analog/python/analog/__init__.py b/gr-analog/python/analog/__init__.py index 836d4ba935..3c4a0ff624 100644 --- a/gr-analog/python/analog/__init__.py +++ b/gr-analog/python/analog/__init__.py @@ -1,22 +1,22 @@ # Copyright 2012 Free Software Foundation, Inc. -# +# # This file is part of GNU Radio -# +# # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. -# +# # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. -# +# ''' Blocks and utilities for analog modulation and demodulation. diff --git a/gr-analog/python/analog/qa_agc.py b/gr-analog/python/analog/qa_agc.py index cb72668341..70c9ba578c 100755 --- a/gr-analog/python/analog/qa_agc.py +++ b/gr-analog/python/analog/qa_agc.py @@ -489,7 +489,7 @@ class test_agc(gr_unittest.TestCase): length = 8 gain = 2 - + input_data = 8*(0.0,) + 24*(1.0,) + 24*(0.0,) expected_result = (8+length-1)*(0.0,) + 24*(gain*1.0,) + (0,) diff --git a/gr-analog/python/analog/qa_cpfsk.py b/gr-analog/python/analog/qa_cpfsk.py index a33a6e6092..be2e0a9b7e 100755 --- a/gr-analog/python/analog/qa_cpfsk.py +++ b/gr-analog/python/analog/qa_cpfsk.py @@ -34,7 +34,7 @@ class test_cpfsk_bc(gr_unittest.TestCase): def test_cpfsk_bc_001(self): # Test set/gets - + op = analog.cpfsk_bc(2, 1, 2) op.set_amplitude(2) diff --git a/gr-analog/python/analog/qa_ctcss_squelch.py b/gr-analog/python/analog/qa_ctcss_squelch.py index f5cfcbf976..3be1e9de3b 100755 --- a/gr-analog/python/analog/qa_ctcss_squelch.py +++ b/gr-analog/python/analog/qa_ctcss_squelch.py @@ -32,7 +32,7 @@ class test_ctcss_squelch(gr_unittest.TestCase): def test_ctcss_squelch_001(self): # Test set/gets - + rate = 1 rate2 = 2 freq = 100 diff --git a/gr-analog/python/analog/qa_dpll.py b/gr-analog/python/analog/qa_dpll.py index 44b1486035..3ae8a3684b 100755 --- a/gr-analog/python/analog/qa_dpll.py +++ b/gr-analog/python/analog/qa_dpll.py @@ -32,7 +32,7 @@ class test_dpll_bb(gr_unittest.TestCase): def test_dpll_bb_001(self): # Test set/gets - + period = 1.0 gain = 0.1 op = analog.dpll_bb(period, gain) diff --git a/gr-analog/python/analog/qa_phase_modulator.py b/gr-analog/python/analog/qa_phase_modulator.py index 05fe2127c0..c6223e5cd4 100755 --- a/gr-analog/python/analog/qa_phase_modulator.py +++ b/gr-analog/python/analog/qa_phase_modulator.py @@ -45,11 +45,11 @@ class test_phase_modulator(gr_unittest.TestCase): src = blocks.vector_source_f(src_data) op = analog.phase_modulator_fc(sensitivity) dst = blocks.vector_sink_c() - + self.tb.connect(src, op) self.tb.connect(op, dst) self.tb.run() - + result_data = dst.data() self.assertComplexTuplesAlmostEqual(expected_result, result_data, 5) diff --git a/gr-analog/python/analog/qa_pwr_squelch.py b/gr-analog/python/analog/qa_pwr_squelch.py index e366192f68..561ca79a7c 100755 --- a/gr-analog/python/analog/qa_pwr_squelch.py +++ b/gr-analog/python/analog/qa_pwr_squelch.py @@ -34,7 +34,7 @@ class test_pwr_squelch(gr_unittest.TestCase): # Test set/gets alpha = 0.0001 - + thr1 = 10 thr2 = 20 ramp = 1 @@ -80,7 +80,7 @@ class test_pwr_squelch(gr_unittest.TestCase): # Test set/gets alpha = 0.0001 - + thr1 = 10 thr2 = 20 ramp = 1 diff --git a/gr-analog/python/analog/qa_quadrature_demod.py b/gr-analog/python/analog/qa_quadrature_demod.py index bcf9aaa17f..08f3f4600e 100755 --- a/gr-analog/python/analog/qa_quadrature_demod.py +++ b/gr-analog/python/analog/qa_quadrature_demod.py @@ -50,11 +50,11 @@ class test_quadrature_demod(gr_unittest.TestCase): src = blocks.vector_source_c(src_data) op = analog.quadrature_demod_cf(gain) dst = blocks.vector_sink_f() - + self.tb.connect(src, op) self.tb.connect(op, dst) self.tb.run() - + result_data = dst.data() self.assertComplexTuplesAlmostEqual(expected_result, result_data, 5) diff --git a/gr-analog/python/analog/qa_rail_ff.py b/gr-analog/python/analog/qa_rail_ff.py index 4a7d3f3f7d..e3990dfd3a 100755 --- a/gr-analog/python/analog/qa_rail_ff.py +++ b/gr-analog/python/analog/qa_rail_ff.py @@ -40,7 +40,7 @@ class test_rail(gr_unittest.TestCase): def test_rail_001(self): # Test set/gets - + hi1 = 1 hi2 = 2 lo1 = -1 diff --git a/gr-analog/python/analog/qa_simple_squelch.py b/gr-analog/python/analog/qa_simple_squelch.py index 35f28a6122..b09a3b2a87 100755 --- a/gr-analog/python/analog/qa_simple_squelch.py +++ b/gr-analog/python/analog/qa_simple_squelch.py @@ -34,7 +34,7 @@ class test_simple_squelch(gr_unittest.TestCase): # Test set/gets alpha = 0.0001 - + thr1 = 10 thr2 = 20 |