summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/ndiff.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-23 20:14:01 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-23 20:14:01 (GMT)
commit310e4c43cd87df44b170acf43f63cb94d00321c5 (patch)
treea0f7a9343a149ed2d0709f7f463e33903f6f56d5 /Tools/scripts/ndiff.py
parente8b1ba1699d429b1e80ea7d31032628d09c3e43e (diff)
parentdd52c5a1c46b4d8e42e5e7a00f9b307f113de08d (diff)
downloadcpython-310e4c43cd87df44b170acf43f63cb94d00321c5.zip
cpython-310e4c43cd87df44b170acf43f63cb94d00321c5.tar.gz
cpython-310e4c43cd87df44b170acf43f63cb94d00321c5.tar.bz2
merge
Diffstat (limited to 'Tools/scripts/ndiff.py')
-rwxr-xr-xTools/scripts/ndiff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/ndiff.py b/Tools/scripts/ndiff.py
index 2422091..c6d09b8 100755
--- a/Tools/scripts/ndiff.py
+++ b/Tools/scripts/ndiff.py
@@ -60,7 +60,7 @@ def fail(msg):
# couldn't be opened
def fopen(fname):
try:
- return open(fname, 'U')
+ return open(fname)
except IOError as detail:
return fail("couldn't open " + fname + ": " + str(detail))