]> granicus.if.org Git - python/commit
When checking for equality, open the slave file in text mode so it
authorGuido van Rossum <guido@python.org>
Tue, 4 Nov 1997 17:35:43 +0000 (17:35 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Nov 1997 17:35:43 +0000 (17:35 +0000)
commit79b2038aa40a7532e7aa3dc9c3bfbc3fd1228630
treee70f43d87f2c6b1e2905c8ac01abf624b9d93326
parent19f44560f2387fd0f7e7f6b459510428216b6f79
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).
Tools/scripts/treesync.py