From 5aa8d5887e3a0f992814958d75b37eab7705c20e Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Thu, 21 Jan 2021 11:25:37 +0100 Subject: [PATCH] Trying to find buffering deadlock --- secondary.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/secondary.py b/secondary.py index c7494bd..f95e01f 100644 --- a/secondary.py +++ b/secondary.py @@ -134,8 +134,11 @@ class Backup: parent = os.path.dirname(src.name) while len(parent) != 0: # Make sure directories get the correct modes + print('Parent:', parent, file=sys.stderr) self.primary_in.write(parent + b'\0') parent = os.path.dirname(parent) + pass + print('File:', src.name, file=sys.stderr) self.primary_in.write(src.name + b'\0') self.primary_in.flush() -- GitLab