eliminate unqualified except when checking for presence of LC_MESSAGES

see bug 411881
This commit is contained in:
Skip Montanaro 2002-03-25 21:40:36 +00:00
parent a959a36288
commit 0897f0c4f8

View File

@ -719,7 +719,7 @@ def _print_locale():
try:
LC_MESSAGES
except:
except NameError:
pass
else:
__all__.append("LC_MESSAGES")