Skip to content
Snippets Groups Projects
Commit 11e3150b authored by ulif's avatar ulif
Browse files

In Python2.6 sys.exit() is not an exception.

parent a0bbe65d
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ def main(args=None):
options = handle_options(args)
if options.version:
print_version()
sys.exit(0)
raise SystemExit(0)
print(get_passphrase(
wordnum=options.num,
specialsnum=options.specials,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment