Skip to content

Commit de0e89f

Browse files
committed
linting fix
1 parent 1c8004c commit de0e89f

File tree

1 file changed

+1
-1
lines changed
  • aws-opentelemetry-distro/src/amazon/opentelemetry/distro

1 file changed

+1
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def is_xray_otlp_endpoint(otlp_endpoint: str = None) -> bool:
2424
def is_installed(req: str) -> bool:
2525
"""Is the given required package installed?"""
2626

27-
if req in sys.modules and sys.modules.get(req) != None:
27+
if req in sys.modules and sys.modules[req] is not None:
2828
return True
2929

3030
try:

0 commit comments

Comments
 (0)