[pypy-svn] r14990 - pypy/branch/pypy-translation-snapshot/interpreter/pyparser
arigo at codespeak.net
arigo at codespeak.net
Sun Jul 24 18:43:58 CEST 2005
Author: arigo
Date: Sun Jul 24 18:43:58 2005
New Revision: 14990
Modified:
pypy/branch/pypy-translation-snapshot/interpreter/pyparser/pythonlexer.py
Log:
Merged trunk rev 14989.
Modified: pypy/branch/pypy-translation-snapshot/interpreter/pyparser/pythonlexer.py
==============================================================================
--- pypy/branch/pypy-translation-snapshot/interpreter/pyparser/pythonlexer.py (original)
+++ pypy/branch/pypy-translation-snapshot/interpreter/pyparser/pythonlexer.py Sun Jul 24 18:43:58 2005
@@ -61,7 +61,7 @@
encoding = encoding.replace('_', '-').lower()
if encoding.startswith('utf-8'):
return 'utf-8'
- for variant in ('latin-1', 'iso-latin-1', 'iso-8859-1'):
+ for variant in ['latin-1', 'iso-latin-1', 'iso-8859-1']:
if encoding.startswith(variant):
return 'iso-8859-1'
return encoding
More information about the Pypy-commit
mailing list