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:
parent
0dab477335
commit
bab493b904
55 changed files with 331 additions and 331 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue