diff options
author | Thomas Haller <thaller@redhat.com> | 2020-05-06 23:09:21 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-05-07 13:58:12 +0200 |
commit | a5614dc469aada7c3b2b294a318defb40a50205b (patch) | |
tree | 21838bbbfe9c3c928af79488afeb4a99cce2c114 /examples/python | |
parent | cc1c2c9fc96eb9eeae5ddcb29c350a062e6781e7 (diff) | |
download | NetworkManager-a5614dc469aada7c3b2b294a318defb40a50205b.tar.gz |
examples: remove unused assignment in "examples/python/gi/wifi-p2p.py"
lgtm.com warns about this.
Diffstat (limited to 'examples/python')
-rwxr-xr-x | examples/python/gi/wifi-p2p.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/gi/wifi-p2p.py b/examples/python/gi/wifi-p2p.py index 746d8d7975..804df34c89 100755 --- a/examples/python/gi/wifi-p2p.py +++ b/examples/python/gi/wifi-p2p.py @@ -82,7 +82,7 @@ def scan_timeout_cb(device): def start_find_cb(device, async_result, user_data): try: - r = device.start_find_finish(async_result) + device.start_find_finish(async_result) except Exception as e: sys.stderr.write("Error: %s\n" % e) main_loop.quit() |