diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-10-12 21:22:26 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-10-12 21:22:26 (GMT) |
commit | 6ab2cb66966bf64dedd62e9715e0f76a2853f664 (patch) | |
tree | 1e1c9815fd7644a50ec518a6480900d6b948eb29 /Mac/scripts | |
parent | de51909d19b0355d866c61a83146c4a43decf45d (diff) | |
download | cpython-6ab2cb66966bf64dedd62e9715e0f76a2853f664.zip cpython-6ab2cb66966bf64dedd62e9715e0f76a2853f664.tar.gz cpython-6ab2cb66966bf64dedd62e9715e0f76a2853f664.tar.bz2 |
Better exit handling.
Diffstat (limited to 'Mac/scripts')
-rw-r--r-- | Mac/scripts/MkDistr_ui.py | 2 | ||||
-rw-r--r-- | Mac/scripts/fullbuild.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Mac/scripts/MkDistr_ui.py b/Mac/scripts/MkDistr_ui.py index 6b39aaa..002e2bd 100644 --- a/Mac/scripts/MkDistr_ui.py +++ b/Mac/scripts/MkDistr_ui.py @@ -263,7 +263,7 @@ class MkDistrUI(Application): return if rv == 1: self.main.save() - raise self + self._quit() def save(self, *args): self.main.save() diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 30c2c7c..1c2256a 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -308,7 +308,6 @@ def main(): routine(dir, arg, list) print "All done!" - sys.exit(1) if __name__ == '__main__': main() |