commit | 79b2038aa40a7532e7aa3dc9c3bfbc3fd1228630 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Nov 04 17:35:43 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Nov 04 17:35:43 1997 +0000 |
tree | e70f43d87f2c6b1e2905c8ac01abf624b9d93326 | |
parent | 19f44560f2387fd0f7e7f6b459510428216b6f79 [diff] |
When checking for equality, open the slave file in text mode so it will compare equal even if the master file uses only \n to terminate lines (this is by far the most common situation). Also, check for the case where the master file is missing, and print the time difference in seconds when the slave file appears newer than the master (for debugging).