We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0910f99 commit 6d85ae0Copy full SHA for 6d85ae0
gcloud/credentials.py
@@ -19,7 +19,12 @@
19
import six
20
from six.moves.urllib.parse import urlencode # pylint: disable=F0401
21
22
-from OpenSSL import crypto
+try:
23
+ from OpenSSL import crypto
24
+except ImportError:
25
+ # pyOpenSSL can't be installed on App Engine, but it will not
26
+ # be needed there since app_identity is used.
27
+ crypto = None
28
29
from oauth2client import client
30
from oauth2client.client import _get_application_default_credential_from_file
0 commit comments