mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
eliminate unqualified except when checking for presence of LC_MESSAGES
see bug 411881
This commit is contained in:
@@ -719,7 +719,7 @@ def _print_locale():
|
||||
|
||||
try:
|
||||
LC_MESSAGES
|
||||
except:
|
||||
except NameError:
|
||||
pass
|
||||
else:
|
||||
__all__.append("LC_MESSAGES")
|
||||
|
||||
Reference in New Issue
Block a user