Skip to content

Commit

Permalink
Make exiting optional from done().
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Jun 26, 2018
1 parent 384e206 commit b88a013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inform/inform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1584,12 +1584,12 @@ def __exit__(self, type, value, traceback):

# Direct access to class methods {{{1
# done {{{3
def done():
def done(exit=True):
"""Terminate the program with normal exit status.
Calls :meth:`inform.Inform.done` for the active informer.
"""
INFORMER.done()
INFORMER.done(exit)


# terminate {{{3
Expand Down

0 comments on commit b88a013

Please sign in to comment.