]> granicus.if.org Git - python/commitdiff
Change raise statement to PEP 8 style.
authorWalter Dörwald <walter@livinglogic.de>
Sat, 18 Mar 2006 16:35:17 +0000 (16:35 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Sat, 18 Mar 2006 16:35:17 +0000 (16:35 +0000)
Lib/codecs.py

index ba03d1481d0fb645570369dd97a45d2d101c1bf9..04912a3244f8eb65260a2ee308b092b119868355 100644 (file)
@@ -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",