Return system exit status from ‘main’.
authorBen Finney <redacted>
Wed, 2 Mar 2016 05:34:58 +0000 (16:34 +1100)
committerBen Finney <redacted>
Wed, 2 Mar 2016 05:34:58 +0000 (16:34 +1100)
commit817ffd46583ebd5207591ee82e0e571e5669961c
treeeacd28d6d0425590737111be36e8496f9b5b92db
parent906aba541c60b7d48ab61bd5f397869a4f1d7a11
Return system exit status from ‘main’.

This makes ‘main’ easier to test: instead of unit tests needing to
handle the exception, a request within the code to exit will turn into a
simple return value.
xkcdpass/xkcd_password.py
git clone https://git.99rst.org/PROJECT