Skip to content

Commit 44bff69

Browse files
style: Fix PLW0120 linting issue by removing unnecessary else clause
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent 901dc6e commit 44bff69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

airbyte/_executors/python.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ def get_installed_version(
196196
for line in output.splitlines():
197197
if line.startswith("Version:"):
198198
return line.split(":", 1)[1].strip()
199-
else:
200-
return None
199+
return None
201200
except Exception:
202201
if raise_on_error:
203202
raise

0 commit comments

Comments
 (0)