aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2022-02-21 12:16:52 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2022-03-14 15:50:57 -0500
commit850ff3b2bfcd4450e1d06194906a80f928c9e604 (patch)
tree8180d6eed88081d9ec87ecb61bda70f9fe29b4bb
parent74f371fcd3ec126d132fdf69b4f504e6157a6147 (diff)
downloaduhd-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__.py0
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