aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dtoverlay.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-31 19:02:58 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:58 -0800
commit6183d9eeaa2cae6ca859b0a2f125d13842f57c39 (patch)
tree4f9f21529896aa90010239c16e17b6776e9f9c7e /mpm/python/usrp_mpm/dtoverlay.py
parent34c2fa0beea10308bc9afe6f20b734fc0839b226 (diff)
downloaduhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.gz
uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.bz2
uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.zip
mpm: Made code Python3-compatible
Diffstat (limited to 'mpm/python/usrp_mpm/dtoverlay.py')
-rw-r--r--mpm/python/usrp_mpm/dtoverlay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dtoverlay.py b/mpm/python/usrp_mpm/dtoverlay.py
index a16b8a40e..7f1bf653f 100644
--- a/mpm/python/usrp_mpm/dtoverlay.py
+++ b/mpm/python/usrp_mpm/dtoverlay.py
@@ -120,7 +120,7 @@ def rm_overlay_safe(overlay_name):
"""
Only remove an overlay if it's already applied.
"""
- if overlay_name in list_overlays(applied_only=True).keys():
+ if overlay_name in list(list_overlays(applied_only=True).keys()):
rm_overlay(overlay_name)
else:
get_logger("DTO").debug(