mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't ignore SystemExit; it shouldn't occur while building.
This commit is contained in:
parent
f7011d436a
commit
c8dad69045
@ -141,8 +141,6 @@ def main(argv=sys.argv):
|
|||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
pdb.post_mortem(sys.exc_info()[2])
|
pdb.post_mortem(sys.exc_info()[2])
|
||||||
return 1
|
return 1
|
||||||
except SystemExit:
|
|
||||||
return 0
|
|
||||||
except Exception, err:
|
except Exception, err:
|
||||||
if use_pdb:
|
if use_pdb:
|
||||||
import pdb
|
import pdb
|
||||||
|
Loading…
Reference in New Issue
Block a user