From ce36ad8a467d914eb5c91f33835b9eaea18ee93b Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Thu, 30 Aug 2007 01:19:48 +0000 Subject: Raise statement normalization in Lib/. --- Lib/cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/cmd.py') diff --git a/Lib/cmd.py b/Lib/cmd.py index 8362edc5616..a2b20201763 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -358,8 +358,8 @@ def columnize(self, list, displaywidth=80): nonstrings = [i for i in range(len(list)) if not isinstance(list[i], basestring)] if nonstrings: - raise TypeError, ("list[i] not a string for i in %s" % - ", ".join(map(str, nonstrings))) + raise TypeError("list[i] not a string for i in %s" + % ", ".join(map(str, nonstrings))) size = len(list) if size == 1: self.stdout.write('%s\n'%str(list[0])) -- cgit v1.2.3-65-gdbad