diff --git a/Mac/scripts/MkDistr_ui.py b/Mac/scripts/MkDistr_ui.py index 6b39aaa4b9e..002e2bd9d9a 100644 --- a/Mac/scripts/MkDistr_ui.py +++ b/Mac/scripts/MkDistr_ui.py @@ -263,7 +263,7 @@ def quit(self, *args): 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 30c2c7c7ce8..1c2256a5d23 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()