Kaydet (Commit) 6ab2cb66 authored tarafından Jack Jansen's avatar Jack Jansen

Better exit handling.

üst de51909d
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment