Handle iconv initialization erorrs

This commit is contained in:
Neal Norwitz 2003-02-28 20:00:42 +00:00
parent 55b61d21d8
commit 6156a2d07c
1 changed files with 1 additions and 1 deletions

View File

@ -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