diff options
Diffstat (limited to 'Lib/linecache.py')
-rw-r--r-- | Lib/linecache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py index cd3e50d..9953034 100644 --- a/Lib/linecache.py +++ b/Lib/linecache.py @@ -90,7 +90,7 @@ def updatecache(filename): ## print '*** Cannot stat', filename, ':', msg return [] try: - fp = open(fullname, 'r') + fp = open(fullname, 'rU') lines = fp.readlines() fp.close() except IOError, msg: |