diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-03-06 15:45:15 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-03-06 15:45:15 -0800 |
commit | f9a8098cae1575a34747af2e212248d3bb189783 (patch) | |
tree | 392697db65e91ad1dc5e9f966eef66e53c7c6d1e /mpm/python/usrp_mpm/discovery.py | |
parent | ed2d1ac3e47f107ebef8845130ad60ea2777443c (diff) | |
download | uhd-f9a8098cae1575a34747af2e212248d3bb189783.tar.gz uhd-f9a8098cae1575a34747af2e212248d3bb189783.tar.bz2 uhd-f9a8098cae1575a34747af2e212248d3bb189783.zip |
mpm: Fix some Pylint warnings
No functional changes.
Diffstat (limited to 'mpm/python/usrp_mpm/discovery.py')
-rw-r--r-- | mpm/python/usrp_mpm/discovery.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/discovery.py b/mpm/python/usrp_mpm/discovery.py index 2efd25b80..3adf98b28 100644 --- a/mpm/python/usrp_mpm/discovery.py +++ b/mpm/python/usrp_mpm/discovery.py @@ -81,14 +81,14 @@ def _discovery_process(state, discovery_addr): continue if data.strip(b"\0") == b"MPM-DISC": log.debug("Sending discovery response to %s port: %d", - sender[0], sender[1]) + sender[0], sender[1]) resp_str = create_response_string(state) send_data = resp_str log.trace("Return data: %s", send_data) send_sock.sendto(send_data, sender) elif data.strip(b"\0").startswith(b"MPM-ECHO"): log.debug("Received echo request from {sender}" - .format(sender=sender[0])) + .format(sender=sender[0])) send_data = data try: send_sock.sendto(send_data, sender) |