From 2dfe5788bf84fe032d0b7c1903a77177f89524dc Mon Sep 17 00:00:00 2001 From: Anas Anjaria <499739+anasanjaria@users.noreply.github.com> Date: Sat, 18 Nov 2023 11:26:27 +0100 Subject: [PATCH] Remove redundant code In my opinion, it seems that the first line is redundant and can be safely removed. --- postgres-appliance/bootstrap/clone_with_wale.py | 1 - 1 file changed, 1 deletion(-) diff --git a/postgres-appliance/bootstrap/clone_with_wale.py b/postgres-appliance/bootstrap/clone_with_wale.py index e8d31962d..c575daccc 100755 --- a/postgres-appliance/bootstrap/clone_with_wale.py +++ b/postgres-appliance/bootstrap/clone_with_wale.py @@ -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 ')