Commit 6156a2d0 authored by Neal Norwitz's avatar Neal Norwitz

Handle iconv initialization erorrs

parent 55b61d21
...@@ -124,5 +124,5 @@ codecs.register(search_function) ...@@ -124,5 +124,5 @@ codecs.register(search_function)
# Register iconv_codec lookup function if available # Register iconv_codec lookup function if available
try: try:
import iconv_codec import iconv_codec
except ImportError: except (ImportError, RuntimeError):
pass pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment