Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2b980926 by Philipp Hörist at 2019-12-12T20:44:27Z
Zeroconf: Catch all exceptions in test_bonjour()
Fixes #9926
- - - - -
1 changed file:
- gajim/common/zeroconf/zeroconf.py
Changes:
=====================================
gajim/common/zeroconf/zeroconf.py
=====================================
@@ -48,9 +48,7 @@ def test_avahi():
def test_bonjour():
try:
import pybonjour # pylint: disable=unused-import
- except ImportError:
- return False
- except WindowsError: # pylint: disable=undefined-variable
+ except Exception:
return False
return True
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/2b98092681fe46451afad821d8039c8bec36dc6d
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/2b98092681fe46451afad821d8039c8bec36dc6d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits