summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2006-03-18 16:35:17 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2006-03-18 16:35:17 (GMT)
commit6a7ec7c3e2795ec48b78002e63b100c4f6b29574 (patch)
tree51b5de6c55fc2c450a8cf3deef96b756baa05c8a /Lib
parente5c5117acfc14ff01d325d1fb2a5a440c124e0d5 (diff)
downloadcpython-6a7ec7c3e2795ec48b78002e63b100c4f6b29574.zip
cpython-6a7ec7c3e2795ec48b78002e63b100c4f6b29574.tar.gz
cpython-6a7ec7c3e2795ec48b78002e63b100c4f6b29574.tar.bz2
Change raise statement to PEP 8 style.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/codecs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index ba03d14..04912a3 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -14,8 +14,7 @@ import __builtin__, sys
try:
from _codecs import *
except ImportError, why:
- raise SystemError,\
- 'Failed to load the builtin codecs: %s' % why
+ raise SystemError('Failed to load the builtin codecs: %s' % why)
__all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",
"BOM_LE", "BOM32_BE", "BOM32_LE", "BOM64_BE", "BOM64_LE",