register cleanup handler
rgaddi at technologyhighland.invalid
Fri Jul 24 22:44:28 CEST 2015
On Fri, 24 Jul 2015 12:01:58 -0400, Neal Becker wrote:
> This would work, but is not very elegant. I hope for a better way.
> need_cleanup = False try:
> if (condition):
> do_something_needing_cleanup need_cleanup = True
> if need_cleanup:
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order. See above to fix.
More information about the Python-list