Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  In my opinion, it seems that the first line is redundant and can be safely removed.
  • Loading branch information
anasanjaria committed Nov 18, 2023
1 parent d554db0 commit 2dfe578
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion postgres-appliance/bootstrap/clone_with_wale.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def fix_output(output):
started = None
for line in output.decode('utf-8').splitlines():
if not started:
started = re.match(r'^name\s+last_modified\s+', line)
started = re.match(r'^name\s+last_modified\s+', line) or re.match(r'^name\s+modified\s+', line)
if started:
line = line.replace(' modified ', ' last_modified ')
Expand Down

0 comments on commit 2dfe578

Please sign in to comment.