diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-08-13 14:50:44 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-08-13 14:50:44 (GMT) |
commit | 1f877ef1993eaa40167fbdd818739e77ae1b9424 (patch) | |
tree | 79f735e4d0f130f1505491bf99ec62a71db9a12c /Lib/locale.py | |
parent | 86c7e22036c935b3a3da98653db2ee313e46206a (diff) | |
download | cpython-1f877ef1993eaa40167fbdd818739e77ae1b9424.zip cpython-1f877ef1993eaa40167fbdd818739e77ae1b9424.tar.gz cpython-1f877ef1993eaa40167fbdd818739e77ae1b9424.tar.bz2 |
Remove some dead code (PyChecker)
Diffstat (limited to 'Lib/locale.py')
-rw-r--r-- | Lib/locale.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/locale.py b/Lib/locale.py index dd7df1e..d3c0eb1 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -268,9 +268,7 @@ def _parse_localename(localename): return code.split('.')[:2] elif code == 'C': return None, None - else: - raise ValueError, 'unknown locale: %s' % localename - return l + raise ValueError, 'unknown locale: %s' % localename def _build_localename(localetuple): |