diff options
author | Martin Braun <martin.braun@ettus.com> | 2022-02-21 12:16:52 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-03-14 15:50:57 -0500 |
commit | 850ff3b2bfcd4450e1d06194906a80f928c9e604 (patch) | |
tree | 8180d6eed88081d9ec87ecb61bda70f9fe29b4bb | |
parent | 74f371fcd3ec126d132fdf69b4f504e6157a6147 (diff) | |
download | uhd-850ff3b2bfcd4450e1d06194906a80f928c9e604.tar.gz uhd-850ff3b2bfcd4450e1d06194906a80f928c9e604.tar.bz2 uhd-850ff3b2bfcd4450e1d06194906a80f928c9e604.zip |
python: Add __init__ to uhd.utils
Without this, the following code fails:
>>> import uhd
>>> U = uhd.usrp.MultiUSRP("type=x4xx")
>>> M = U.get_mpm_client()
Traceback (most recent call last):
File "<input>", line 1, in <module>
M = U.get_mpm_client()
File ".../uhd/usrp/multi_usrp.py", line 37, in <lambda>
setattr(self,
'get_mpm_client', lambda: _get_mpm_client(token, mb_args))
File ".../uhd/usrp/multi_usrp.py", line 19, in _get_mpm_client
from uhd.utils import mpmtools
ModuleNotFoundError: No module named 'uhd.utils'
-rw-r--r-- | host/python/uhd/utils/__init__.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/host/python/uhd/utils/__init__.py b/host/python/uhd/utils/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/host/python/uhd/utils/__init__.py |