aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-06-18 17:37:11 -0700
committerMartin Braun <martin.braun@ettus.com>2018-06-18 17:37:11 -0700
commit0935bf5c2a6952fd07bc4b6c618d12b0bd79ca78 (patch)
tree53f5176057069014fcdc5387b6ed6322b7babde6 /mpm
parent2ab7d8ce293ab545ab401f7e643a9985bd07d249 (diff)
downloaduhd-0935bf5c2a6952fd07bc4b6c618d12b0bd79ca78.tar.gz
uhd-0935bf5c2a6952fd07bc4b6c618d12b0bd79ca78.tar.bz2
uhd-0935bf5c2a6952fd07bc4b6c618d12b0bd79ca78.zip
mpm: dboard_manager: Fix docstring for get_serial()
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py
index 901e8cbf2..f7ba918f6 100644
--- a/mpm/python/usrp_mpm/dboard_manager/base.py
+++ b/mpm/python/usrp_mpm/dboard_manager/base.py
@@ -93,7 +93,8 @@ class DboardManagerBase(object):
def get_serial(self):
"""
- Return this daughterboard's serial number as a dictionary.
+ Return this daughterboard's serial number as a string. Will return an
+ empty string if no serial can be found.
"""
return self.device_info.get("serial", "")