Skip to content

Commit e2b6a32

Browse files
removed the extraneous else if statement for NOT_DETECT since we don't do anything with that case
1 parent 2d42ed4 commit e2b6a32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/snowflake/connector/platform_detection.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,5 @@ def detect_platforms(timeout_seconds: float | None) -> list[str]:
397397
detected_platforms.append(platform_name)
398398
elif detection_state == _DetectionState.TIMEOUT:
399399
detected_platforms.append(f"{platform_name}_timeout")
400-
elif detection_state == _DetectionState.NOT_DETECTED:
401-
pass
402400

403401
return detected_platforms

0 commit comments

Comments
 (0)