aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/p2p/p2p_flush.py
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/examples/p2p/p2p_flush.py')
-rw-r--r--wpa_supplicant/examples/p2p/p2p_flush.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/examples/p2p/p2p_flush.py b/wpa_supplicant/examples/p2p/p2p_flush.py
index ff8509d..5dfe642 100644
--- a/wpa_supplicant/examples/p2p/p2p_flush.py
+++ b/wpa_supplicant/examples/p2p/p2p_flush.py
@@ -81,7 +81,7 @@ class P2P_Flush (threading.Thread):
try:
self.path = self.wpas.GetInterface(
self.interface_name)
- except dbus.DBusException, exc:
+ except dbus.DBusException as exc:
error = 'Error:\n Interface ' + self.interface_name \
+ ' was not found'
print error