changeset 2341:338334a0d38d

Merge main.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Mon, 09 Jul 2007 00:30:05 +0200
parents dbfe98af770a (current diff) c5d01f74189a (diff)
children b745ea150288
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/pep8.py	Thu Jul 05 22:11:16 2007 +0200
+++ b/MoinMoin/_tests/pep8.py	Mon Jul 09 00:30:05 2007 +0200
@@ -507,7 +507,7 @@
 
     def __init__(self, filename):
         self.filename = filename
-        self.lines = file(filename).readlines()
+        self.lines = file(filename, 'rb').readlines()
         self.physical_checks = find_checks('physical_line')
         self.logical_checks = find_checks('logical_line')
         options.counters['physical lines'] = \