Commit 13e359fe authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Fix a typo introduced at 1.21

M IOBinding.py

Backported to 23-maint
parent 99efc386
......@@ -29,7 +29,7 @@ except ImportError:
try:
import locale
locale.setlocale(locale.LC_CTYPE, "")
except (ImportError, locale.error):
except (ImportError, locale.Error):
pass
encoding = "ascii"
......
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