Raising SystemExit hides the return code

Bug #962169 reported by Christian Theune
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
New
Undecided
Unassigned

Bug Description

Buildout 1.5.2 catches SystemExit as a special case in main(). It stops processing and doesn't cause additional error output but swallows the exit code.

IMHO instead of 'pass' it should simply re-raise the exception.

summary: - Raising SystemExit(1) in an extension hides the return code
+ Raising SystemExit in an extension hides the return code
summary: - Raising SystemExit in an extension hides the return code
+ Raising SystemExit hides the return code
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.