tests: Use python3 compatible "except" statement

This patch is made by using 2to3 command.

$ find . -name *.py | xargs 2to3 -f except -w -n

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma 2019-01-24 16:45:41 +09:00 committed by Jouni Malinen
parent 0dab477335
commit bab493b904
55 changed files with 331 additions and 331 deletions

View file

@ -629,7 +629,7 @@ class FstAP (FstDevice):
self.remove_all_sessions()
try:
self.send_iface_detach_request(self.iface)
except Exception, e:
except Exception as e:
logger.info(str(e))
self.reg_ctrl.stop()
del self.global_instance