adding a simulation mode
John Gordon
gordon at panix.com
Thu Jul 12 11:10:32 EDT 2012
In <mailman.2043.1342102625.4697.python-list at python.org> andrea crotti <andrea.crotti.0 at gmail.com> writes:
> Well that's what I thought, but I can't find any explicit exit
> anywhere in shutil, so what's going on there?
Try catching SystemExit specifically (it doesn't inherit from Exception,
so "except Exception" won't catch it.)
--
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list