Show More
@@ -11,7 +11,7 b' Test how largefiles abort in case the di' | |||
|
11 | 11 | > _origcopyfileobj = shutil.copyfileobj |
|
12 | 12 | > def copyfileobj(fsrc, fdst, length=16*1024): |
|
13 | 13 | > # allow journal files (used by transaction) to be written |
|
14 | > if 'journal.' in fdst.name: | |
|
14 | > if b'journal.' in fdst.name: | |
|
15 | 15 | > return _origcopyfileobj(fsrc, fdst, length) |
|
16 | 16 | > fdst.write(fsrc.read(4)) |
|
17 | 17 | > raise IOError(errno.ENOSPC, os.strerror(errno.ENOSPC)) |
General Comments 0
You need to be logged in to leave comments.
Login now