80
76
flags = os.O_CREAT | os.O_TRUNC | os.O_WRONLY | getattr(os, 'O_BINARY', 0)
81
77
for (relpath, executable), chunks in tree.iter_files_bytes(to_fetch):
86
78
fullpath = osutils.pathjoin(dest, relpath)
87
79
# We set the mode and let the umask sort out the file info