From: Walter Dörwald Date: Sat, 18 Mar 2006 16:35:17 +0000 (+0000) Subject: Change raise statement to PEP 8 style. X-Git-Tag: v2.5a0~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a7ec7c3e2795ec48b78002e63b100c4f6b29574;p=python Change raise statement to PEP 8 style. --- diff --git a/Lib/codecs.py b/Lib/codecs.py index ba03d1481d..04912a3244 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",