diff options
| author | Georg Brandl <georg@python.org> | 2006-09-30 14:48:03 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-09-30 14:48:03 +0000 |
| commit | 4b32cdd2b232e82defc7e9e2231be29bb43b732a (patch) | |
| tree | 6bb6ae4d01514f28756d87b6ba815e27836e76cb /Lib | |
| parent | cae0a86962c8100f582bd3c5e0e1182dba3be781 (diff) | |
| download | cpython-git-4b32cdd2b232e82defc7e9e2231be29bb43b732a.tar.gz | |
Back out r52076, it's causing the buildbots to fail because of test_charmapcodec.
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/encodings/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index cdcfbe0bd0..d2e952343f 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -89,7 +89,7 @@ def search_function(encoding): else: modnames = [norm_encoding] for modname in modnames: - if not modname or '.' in modname: + if not modname: continue try: mod = __import__(modname, |
