diff options
author | Jouni Malinen <j@w1.fi> | 2013-03-16 19:46:51 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2013-03-16 19:46:51 (GMT) |
commit | 15cb4772d6c8353504c4dfdfc0c88bf1cf97fecc (patch) | |
tree | 7e8c771dd4e4ba48d93a7752931769800ccadf4c /wpaspy | |
parent | b2a12c4f93f77d5be8682c8ab60f13857d1cfa5e (diff) | |
download | hostap-15cb4772d6c8353504c4dfdfc0c88bf1cf97fecc.zip hostap-15cb4772d6c8353504c4dfdfc0c88bf1cf97fecc.tar.gz hostap-15cb4772d6c8353504c4dfdfc0c88bf1cf97fecc.tar.bz2 |
wpaspy: Fix exception handling in the test script
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpaspy')
-rwxr-xr-x | wpaspy/test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wpaspy/test.py b/wpaspy/test.py index 2a5e409..493af7a 100755 --- a/wpaspy/test.py +++ b/wpaspy/test.py @@ -29,8 +29,7 @@ def wpas_connect(): try: wpas = wpaspy.Ctrl(ctrl) return wpas - except wpactrl.error, error: - print "Error: ", error + except Exception, e: pass return None |