Fix a typo introduced at 1.21

M IOBinding.py

Backported to 23-maint
This commit is contained in:
Kurt B. Kaiser 2003-11-25 05:01:00 +00:00
parent a38123e2fa
commit 188e25f637
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ except ImportError:
try: try:
import locale import locale
locale.setlocale(locale.LC_CTYPE, "") locale.setlocale(locale.LC_CTYPE, "")
except (ImportError, locale.error): except (ImportError, locale.Error):
pass pass
encoding = "ascii" encoding = "ascii"