diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-28 20:00:42 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-28 20:00:42 (GMT) |
commit | 6156a2d07cc26e89a068bff7a4b7bbc84167d415 (patch) | |
tree | d8b6f509583ee9f1908a87f73be75a4fe60d3922 /Lib/encodings | |
parent | 55b61d21d8e8409fbb6ca23421f8a3a5c23f5513 (diff) | |
download | cpython-6156a2d07cc26e89a068bff7a4b7bbc84167d415.zip cpython-6156a2d07cc26e89a068bff7a4b7bbc84167d415.tar.gz cpython-6156a2d07cc26e89a068bff7a4b7bbc84167d415.tar.bz2 |
Handle iconv initialization erorrs
Diffstat (limited to 'Lib/encodings')
-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 5e4167b..e312fb8 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -124,5 +124,5 @@ codecs.register(search_function) # Register iconv_codec lookup function if available try: import iconv_codec -except ImportError: +except (ImportError, RuntimeError): pass |