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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a7ec7c3e2795ec48b78002e63b100c4f6b29574;p=thirdparty%2FPython%2Fcpython.git Change raise statement to PEP 8 style. --- diff --git a/Lib/codecs.py b/Lib/codecs.py index ba03d1481d0f..04912a3244f8 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",