Commit 5aa8d588 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Trying to find buffering deadlock

parent 1bd0a4e0
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment