Show More
@@ -1457,8 +1457,7 b' class checkambigatclosing(closewrapbase)' | |||
|
1457 | 1457 | newstat = util.filestat(self._origfh.name) |
|
1458 | 1458 | if newstat.isambig(oldstat): |
|
1459 | 1459 | # stat of changed file is ambiguous to original one |
|
1460 | advanced = (oldstat.stat.st_mtime + 1) & 0x7fffffff | |
|
1461 | os.utime(self._origfh.name, (advanced, advanced)) | |
|
1460 | newstat.avoidambig(self._origfh.name, oldstat) | |
|
1462 | 1461 | |
|
1463 | 1462 | def __exit__(self, exc_type, exc_value, exc_tb): |
|
1464 | 1463 | self._origfh.__exit__(exc_type, exc_value, exc_tb) |
General Comments 0
You need to be logged in to leave comments.
Login now