mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
eliminate unqualified except when checking for presence of LC_MESSAGES
see bug 411881
This commit is contained in:
parent
a959a36288
commit
0897f0c4f8
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ def _print_locale():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
LC_MESSAGES
|
LC_MESSAGES
|
||||||
except:
|
except NameError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
__all__.append("LC_MESSAGES")
|
__all__.append("LC_MESSAGES")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue