diff options
author | mithrandi <mithrandi> | 2006-02-05 16:19:11 +0000 |
---|---|---|
committer | mithrandi <mithrandi> | 2006-02-05 16:19:11 +0000 |
commit | fda25676254afe7c4669d735559990570dfb209b (patch) | |
tree | 6e47c1b810dcdabea5ff304da5d5b79cc19fc1d2 /bin | |
parent | aeb0ab4c18e044d4da32d904e06e6a8e86c23591 (diff) | |
download | pyflakes-fda25676254afe7c4669d735559990570dfb209b.tar.gz |
Use universal line-endings mode in pyflakes.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pyflakes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pyflakes b/bin/pyflakes index 2c0a752..6eae5ba 100755 --- a/bin/pyflakes +++ b/bin/pyflakes @@ -30,7 +30,7 @@ def check(codeString, filename): def checkPath(filename): if os.path.exists(filename): - return check(file(filename).read(), filename) + return check(file(filename, 'U').read(), filename) warnings = 0 args = sys.argv[1:] |