summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/ssh_gss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ssh_gss.py b/paramiko/ssh_gss.py
index 4dfdec11..58a64a56 100644
--- a/paramiko/ssh_gss.py
+++ b/paramiko/ssh_gss.py
@@ -79,7 +79,7 @@ _API = "MIT"
try:
import gssapi
-except ImportError:
+except (ImportError, OSError):
try:
import sspicon
import sspi