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 1c8004c commit de0e89fCopy full SHA for de0e89f
aws-opentelemetry-distro/src/amazon/opentelemetry/distro/_utils.py
@@ -24,7 +24,7 @@ def is_xray_otlp_endpoint(otlp_endpoint: str = None) -> bool:
24
def is_installed(req: str) -> bool:
25
"""Is the given required package installed?"""
26
27
- if req in sys.modules and sys.modules.get(req) != None:
+ if req in sys.modules and sys.modules[req] is not None:
28
return True
29
30
try:
0 commit comments