Stopping exception unwinding at exit

Neil Schemenauer nas at python.ca
Tue Nov 13 21:54:33 CET 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