summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy/src/python
diff options
context:
space:
mode:
authormleech2007-03-15 17:37:15 +0000
committermleech2007-03-15 17:37:15 +0000
commit54cb541c009e7362cae4fdf9620cefb774e13b55 (patch)
treea50af43b27c2990035ecce3a1b859efbd28b624d /gr-radio-astronomy/src/python
parent77349c7d43b029bc13263343d2632d36be661f7c (diff)
downloadgnuradio-54cb541c009e7362cae4fdf9620cefb774e13b55.tar.gz
gnuradio-54cb541c009e7362cae4fdf9620cefb774e13b55.tar.bz2
gnuradio-54cb541c009e7362cae4fdf9620cefb774e13b55.zip
Fixed syntax error that was previously not caught by Python.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4760 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src/python')
-rwxr-xr-xgr-radio-astronomy/src/python/ra_fftsink.py2
-rwxr-xr-xgr-radio-astronomy/src/python/ra_stripchartsink.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-radio-astronomy/src/python/ra_fftsink.py b/gr-radio-astronomy/src/python/ra_fftsink.py
index ccfcc46bc..f00a08640 100755
--- a/gr-radio-astronomy/src/python/ra_fftsink.py
+++ b/gr-radio-astronomy/src/python/ra_fftsink.py
@@ -292,7 +292,7 @@ class fft_window (plot.PlotCanvas):
self.Draw (graphics, xAxis=None, yAxis=self.y_range)
d = calc_max - calc_min
- d *= 0.1
+ d = d * 0.1
if self.ra_fftsink.autoscale == True:
self.y_range = self._axisInterval ('min', calc_min-d, calc_max+d)
else:
diff --git a/gr-radio-astronomy/src/python/ra_stripchartsink.py b/gr-radio-astronomy/src/python/ra_stripchartsink.py
index 72dded531..26c31cb58 100755
--- a/gr-radio-astronomy/src/python/ra_stripchartsink.py
+++ b/gr-radio-astronomy/src/python/ra_stripchartsink.py
@@ -178,7 +178,7 @@ class stripchart_window(plot.PlotCanvas):
calc_min = min(indata)
calc_max = max(indata)
d = calc_max - calc_min
- d *= 0.1
+ d = d * 0.1
if self.stripchartsink.autoscale == True and self.stripchartsink.parallel == True:
self.y_range = self._axisInterval ('min', calc_min-d, calc_max+d)