summaryrefslogtreecommitdiff
path: root/gr-utils/python/utils/gr_plot_short
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/utils/gr_plot_short')
-rwxr-xr-xgr-utils/python/utils/gr_plot_short6
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-utils/python/utils/gr_plot_short b/gr-utils/python/utils/gr_plot_short
index f900af1bac..d367ea381f 100755
--- a/gr-utils/python/utils/gr_plot_short
+++ b/gr-utils/python/utils/gr_plot_short
@@ -20,11 +20,13 @@
# Boston, MA 02110-1301, USA.
#
+from __future__ import print_function
+
try:
import scipy
except ImportError:
- print "Please install SciPy to run this script (http://www.scipy.org/)"
- raise SystemExit, 1
+ print("Please install SciPy to run this script (http://www.scipy.org/)")
+ raise SystemExit(1)
from argparse import ArgumentParser
from gnuradio.plot_data import plot_data