diff options
author | Christian Heimes <christian@cheimes.de> | 2013-11-23 20:14:01 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-11-23 20:14:01 (GMT) |
commit | 310e4c43cd87df44b170acf43f63cb94d00321c5 (patch) | |
tree | a0f7a9343a149ed2d0709f7f463e33903f6f56d5 /Tools/scripts/diff.py | |
parent | e8b1ba1699d429b1e80ea7d31032628d09c3e43e (diff) | |
parent | dd52c5a1c46b4d8e42e5e7a00f9b307f113de08d (diff) | |
download | cpython-310e4c43cd87df44b170acf43f63cb94d00321c5.zip cpython-310e4c43cd87df44b170acf43f63cb94d00321c5.tar.gz cpython-310e4c43cd87df44b170acf43f63cb94d00321c5.tar.bz2 |
merge
Diffstat (limited to 'Tools/scripts/diff.py')
-rwxr-xr-x | Tools/scripts/diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/diff.py b/Tools/scripts/diff.py index f9b14bf..8be527f 100755 --- a/Tools/scripts/diff.py +++ b/Tools/scripts/diff.py @@ -38,9 +38,9 @@ def main(): fromdate = file_mtime(fromfile) todate = file_mtime(tofile) - with open(fromfile, 'U') as ff: + with open(fromfile) as ff: fromlines = ff.readlines() - with open(tofile, 'U') as tf: + with open(tofile) as tf: tolines = tf.readlines() if options.u: |