Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
a8edce24 by lovetox at 2021-05-08T12:24:06+02:00
GSSAPI: Catch OSError

Error is thrown when Kerberos for Windows is not installed

- - - - -
73c4352f by lovetox at 2021-05-08T12:24:38+02:00
Update README.md

- - - - -


2 changed files:

- README.md
- nbxmpp/auth.py


Changes:

=====================================
README.md
=====================================
@@ -13,7 +13,7 @@
 
 ## Optional Runtime Requirements
 
-- python-gssapi (for GSSAPI authentication)
+- python-gssapi (for GSSAPI authentication https://pypi.org/project/gssapi/)
 
 ## Features
 


=====================================
nbxmpp/auth.py
=====================================
@@ -37,7 +37,8 @@ log = logging.getLogger('nbxmpp.auth')
 try:
     gssapi = __import__('gssapi')
     GSSAPI_AVAILABLE = True
-except ImportError:
+except (ImportError, OSError) as error:
+    log.warning('GSSAPI not available: %s', error)
     GSSAPI_AVAILABLE = False
 
 



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/compare/6e3bc1655ed7210a9ef86fdb645c67d5c0693ce4...73c4352f706ed9a9bea0ec577065995844338ced

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/compare/6e3bc1655ed7210a9ef86fdb645c67d5c0693ce4...73c4352f706ed9a9bea0ec577065995844338ced
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to