On Tue, Sep 15, 2009 at 02:45:19PM -0700, John Sonnenschein wrote:
Thoughts?
http://cr.opensolaris.org/~error404/1147/
John,
The os.geteuid method is only available on Unix. Can you please protect
the call to it with a hasattr or catch the AttributeError exception?
There is a pkg.portable.is_admin method that could be called, but it
uses os.getuid rather than os.geteuid. Maybe it would be appropriate to
change that.
Thanks.
Tom
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss