summaryrefslogtreecommitdiff
path: root/examples/python
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-05-06 23:09:21 +0200
committerThomas Haller <thaller@redhat.com>2020-05-07 13:58:12 +0200
commita5614dc469aada7c3b2b294a318defb40a50205b (patch)
tree21838bbbfe9c3c928af79488afeb4a99cce2c114 /examples/python
parentcc1c2c9fc96eb9eeae5ddcb29c350a062e6781e7 (diff)
downloadNetworkManager-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-xexamples/python/gi/wifi-p2p.py2
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()