Stopping exception unwinding at exit

Neil Schemenauer nas at python.ca
Tue Nov 13 15:54:33 EST 2001


Try changing the last bit to:

    try:
        ...
    except SystemExit:
        raise
    except:
        Puke("An unknown exception was raised in the script.")
        
Cheers,

  Neil




More information about the Python-list mailing list