diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py b/gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py index 1b129534c9..0f3f27710f 100644 --- a/gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py +++ b/gnuradio-runtime/python/gnuradio/ctrlport/RPCConnection.py @@ -17,9 +17,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # - -import exceptions - """ RPCMethods is a dictionary listing RPC transports currently supported by this client. @@ -30,6 +27,8 @@ Args: options: result of command argument parsing (optparse.Values) """ +from __future__ import unicode_literals + RPCMethods = {'thrift': 'Apache Thrift', #'ice': 'Zeroc ICE' } @@ -94,25 +93,25 @@ class RPCConnection(object): return self.port def newConnection(self, host=None, port=None): - raise exceptions.NotImplementedError() + raise NotImplementedError() def properties(self, *args): - raise exceptions.NotImplementedError() + raise NotImplementedError() def getKnobs(self, *args): - raise exceptions.NotImplementedError() + raise NotImplementedError() def getRe(self,*args): - raise exceptions.NotImplementedError() + raise NotImplementedError() def postMessage(self,*args): - raise exceptions.NotImplementedError() + raise NotImplementedError() def setKnobs(self,*args): - raise exceptions.NotImplementedError() + raise NotImplementedError() def shutdown(self): - raise exceptions.NotImplementedError() + raise NotImplementedError() def printProperties(self, props): - raise exceptions.NotImplementedError() + raise NotImplementedError() |