summaryrefslogtreecommitdiff
path: root/Tools/scripts/untabify.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-22 23:05:06 +0000
committerCollin Winter <collinw@gmail.com>2007-08-22 23:05:06 +0000
commita817e5894b20d68263056bf9af8f1582954b1d8f (patch)
tree2409955c53ffb88f6934f277d66c4fe44011e601 /Tools/scripts/untabify.py
parent2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175 (diff)
downloadcpython-git-a817e5894b20d68263056bf9af8f1582954b1d8f.tar.gz
Convert raise statements in Tools/.
Diffstat (limited to 'Tools/scripts/untabify.py')
-rwxr-xr-xTools/scripts/untabify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/untabify.py b/Tools/scripts/untabify.py
index 49e9049bd3..1a186a3295 100755
--- a/Tools/scripts/untabify.py
+++ b/Tools/scripts/untabify.py
@@ -11,7 +11,7 @@ def main():
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 ...")