From e1fa3db39fcf38f1fefed4b3f6cc5f7b8d788933 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@ettus.com>
Date: Sat, 14 Jul 2018 14:44:42 -0700
Subject: ctrlport: Remove superfluous 'import exceptions'

It's not needed, not even with Python 2.7. It will fail with Python 3,
though.
---
 .../python/gnuradio/ctrlport/GNURadioControlPortClient.py             | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'gnuradio-runtime/python/gnuradio/ctrlport/GNURadioControlPortClient.py')

diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/GNURadioControlPortClient.py b/gnuradio-runtime/python/gnuradio/ctrlport/GNURadioControlPortClient.py
index beec500023..8b811ab9d9 100644
--- a/gnuradio-runtime/python/gnuradio/ctrlport/GNURadioControlPortClient.py
+++ b/gnuradio-runtime/python/gnuradio/ctrlport/GNURadioControlPortClient.py
@@ -30,8 +30,6 @@ is currently the only supported transport.
 from __future__ import print_function
 from __future__ import unicode_literals
 
-import exceptions
-
 """
 GNURadioControlPortClient is the main class for creating a GNU Radio
 ControlPort client application for all transports.
@@ -131,4 +129,4 @@ class GNURadioControlPortClient(object):
                     blockingcallback()
         else:
             print(("Unsupported RPC method: ", rpcmethod))
-            raise exceptions.ValueError()
+            raise ValueError()
-- 
cgit v1.2.3