equal
deleted
inserted
replaced
9 > fdst.write(fsrc.read(4)) |
9 > fdst.write(fsrc.read(4)) |
10 > raise IOError(errno.ENOSPC, os.strerror(errno.ENOSPC)) |
10 > raise IOError(errno.ENOSPC, os.strerror(errno.ENOSPC)) |
11 > shutil.copyfileobj = copyfileobj |
11 > shutil.copyfileobj = copyfileobj |
12 > # |
12 > # |
13 > # this makes the rewritten code abort: |
13 > # this makes the rewritten code abort: |
14 > def filechunkiter(f, size=65536, limit=None): |
14 > def filechunkiter(f, size=131072, limit=None): |
15 > yield f.read(4) |
15 > yield f.read(4) |
16 > raise IOError(errno.ENOSPC, os.strerror(errno.ENOSPC)) |
16 > raise IOError(errno.ENOSPC, os.strerror(errno.ENOSPC)) |
17 > util.filechunkiter = filechunkiter |
17 > util.filechunkiter = filechunkiter |
18 > # |
18 > # |
19 > def oslink(src, dest): |
19 > def oslink(src, dest): |