Tim Foster wrote:

> Yep, the latter will matter (he said poetically) I've changed this to pass
> the name of a temporary directory to the function, and we destroy/recreate
> that directory as necessary. If it still exists when we're handling any
> exception that's thrown, we'll delete it then.

It'll also exist (albeit empty) after everything's successfully completed,
no?  I think the "if exists: rmtree" should probably go in a finally
clause, though I don't know how that'll interact with the continue in the
except.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to