minor: wrap_session: s/Spurious/unexpected/

This commit is contained in:
Daniel Hahler 2018-12-10 05:19:26 +01:00
parent 5a544d4fac
commit 5c26ba9cb1
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ def wrap_session(config, doit):
config.notify_exception(excinfo, config.option)
session.exitstatus = EXIT_INTERNALERROR
if excinfo.errisinstance(SystemExit):
sys.stderr.write("mainloop: caught Spurious SystemExit!\n")
sys.stderr.write("mainloop: caught unexpected SystemExit!\n")
finally:
excinfo = None # Explicitly break reference cycle.