2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-02 09:19:39 +00:00

Fix unbound exception variable in CalledProcessError handler

This commit is contained in:
Vinícius Ferrão
2026-05-03 01:50:30 -03:00
parent aafd6967ba
commit 1964d4a4ca
+1 -1
View File
@@ -198,7 +198,7 @@ async def sync_list_to_node(sl, node, suffixes, peerip=None):
targip = peerip
output, stderr = await util.check_output(
'rsync', '-rvLD', targdir + '/', 'root@[{}]:/'.format(targip))
except subprocess.CalledProcessError:
except subprocess.CalledProcessError as e:
unreadablefiles = []
for root, dirnames, filenames in os.walk(targdir):
for filename in filenames: