Florent Guillaume wrote:
Looks like has_permission was a good choice -- I just tried it. Interestingly, the IOError bug went away. I find that very strange considering that that module doesn't obviously do any I/O (but I guess it must).
That's because, when you used hasRole, it was trying to output its warning (probably to the console), and failed with an IOError.
That makes sense. I suppose I need to use >> /dev/null to avoid this kind of thing in production use (though in this case, the warning did its job -- I removed the deprecated call). Cheers, Terry -- ------------------------------------------------------ Terry Hancock hancock@anansispaceworks.com Anansi Spaceworks http://www.anansispaceworks.com P.O. Box 60583 Pasadena, CA 91116-6583 ------------------------------------------------------