Commit 2b980926 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Zeroconf: Catch all exceptions in test_bonjour()

Fixes #9926
parent d485535c
......@@ -48,9 +48,7 @@ def test_avahi():
def test_bonjour():
import pybonjour # pylint: disable=unused-import
except ImportError:
return False
except WindowsError: # pylint: disable=undefined-variable
except Exception:
return False
return True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment