commit | a817e5894b20d68263056bf9af8f1582954b1d8f | [log] [tgz] |
---|---|---|
author | Collin Winter <collinw@gmail.com> | Wed Aug 22 23:05:06 2007 +0000 |
committer | Collin Winter <collinw@gmail.com> | Wed Aug 22 23:05:06 2007 +0000 |
tree | 2409955c53ffb88f6934f277d66c4fe44011e601 | |
parent | 2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175 [diff] [blame] |
Convert raise statements in Tools/.
diff --git a/Tools/scripts/untabify.py b/Tools/scripts/untabify.py index 49e9049..1a186a3 100755 --- a/Tools/scripts/untabify.py +++ b/Tools/scripts/untabify.py
@@ -11,7 +11,7 @@ try: opts, args = getopt.getopt(sys.argv[1:], "t:") if not args: - raise getopt.error, "At least one file argument required" + raise getopt.error("At least one file argument required") except getopt.error as msg: print(msg) print("usage:", sys.argv[0], "[-t tabwidth] file ...")