On Thu, Jul 31, 2008 at 05:07:43PM -0700, Brad Hall wrote: > Link to CR: http://cr.opensolaris.org/~bhall/bug-1147/ > Link to BUG: http://defect.opensolaris.org/bz/show_bug.cgi?id=1147
The principle seems fine to me. I think that your decorators don't properly pass arguments onto the functions they wrap -- you'll need ", *args, **kwargs" in the args list when defining as(non)root() and when calling f(), I believe. I'm not sure how it was working as you have it. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
