diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-02 16:41:16 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-02 16:41:16 +0100 |
commit | c9bea14a3f70862173c32aba43d92d0e77835465 (patch) | |
tree | 74b9969405814c63602bb1e8fa7dbf45197f3b92 /tests | |
parent | 4064258595701503a26f3b93eef01512263b3d68 (diff) | |
download | telepathy-salut-c9bea14a3f70862173c32aba43d92d0e77835465.tar.gz |
avahitest: catch a specific exception
It can break the KeyboardException case.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/twisted/avahitest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/avahitest.py b/tests/twisted/avahitest.py index 05407276..eb68504c 100644 --- a/tests/twisted/avahitest.py +++ b/tests/twisted/avahitest.py @@ -194,7 +194,7 @@ def check_ipv6_enabled(): try: s.bind(('::1', 0)) - except: + except socket.error: return False return True |