mirror of https://github.com/python/cpython
Better exit handling.
This commit is contained in:
parent
de51909d19
commit
6ab2cb6696
|
@ -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()
|
||||
|
|
|
@ -308,7 +308,6 @@ def main():
|
|||
routine(dir, arg, list)
|
||||
|
||||
print "All done!"
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue