summaryrefslogtreecommitdiffstats
path: root/Lib/locale.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-03-25 21:40:36 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-03-25 21:40:36 (GMT)
commit0897f0c4f8034fa656cf2be3cda93bfb067d0a65 (patch)
tree958754df68ac68e84ffe6d251687e1b5bbf851f7 /Lib/locale.py
parenta959a36288120863f2122ac1c226ee965efcec97 (diff)
downloadcpython-0897f0c4f8034fa656cf2be3cda93bfb067d0a65.zip
cpython-0897f0c4f8034fa656cf2be3cda93bfb067d0a65.tar.gz
cpython-0897f0c4f8034fa656cf2be3cda93bfb067d0a65.tar.bz2
eliminate unqualified except when checking for presence of LC_MESSAGES
see bug 411881
Diffstat (limited to 'Lib/locale.py')
-rw-r--r--Lib/locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/locale.py b/Lib/locale.py
index d3c0eb1..81190be 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -719,7 +719,7 @@ def _print_locale():
try:
LC_MESSAGES
-except:
+except NameError:
pass
else:
__all__.append("LC_MESSAGES")