summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/xxci.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-09 23:12:59 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-09 23:12:59 (GMT)
commitd3592486cee15abf8bbd1ea5d70f92e7168376ce (patch)
tree57a608267e228dae4945945e10df51ec97083a88 /Tools/scripts/xxci.py
parentff3da0502f6b866930b794d971ba5e9daeb594c5 (diff)
downloadcpython-d3592486cee15abf8bbd1ea5d70f92e7168376ce.zip
cpython-d3592486cee15abf8bbd1ea5d70f92e7168376ce.tar.gz
cpython-d3592486cee15abf8bbd1ea5d70f92e7168376ce.tar.bz2
Friendlier response to interrupt. Use /usr/local/*bin*/python.
Diffstat (limited to 'Tools/scripts/xxci.py')
-rwxr-xr-xTools/scripts/xxci.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Tools/scripts/xxci.py b/Tools/scripts/xxci.py
index 74352a0..39bf25e 100755
--- a/Tools/scripts/xxci.py
+++ b/Tools/scripts/xxci.py
@@ -1,5 +1,5 @@
#! /ufs/guido/bin/sgi/python
-#! /usr/local/python
+#! /usr/local/bin/python
# xxci
#
@@ -111,5 +111,8 @@ def askyesno(prompt):
s = raw_input(prompt)
return s in ['y', 'yes']
-setup()
-go(getargs())
+try:
+ setup()
+ go(getargs())
+except KeyboardInterrupt:
+ print '[Intr]'