Skip to content

Commit 901dc6e

Browse files
style: Fix TRY300 linting issue by moving return None to else block
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent bcd88fb commit 901dc6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte/_executors/python.py

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

0 commit comments

Comments
 (0)