On Nov 27, 3:50 pm, [EMAIL PROTECTED] (Aahz) wrote:
> In article <[EMAIL PROTECTED]>,
>
>  <[EMAIL PROTECTED]> wrote:
>
> ># untested
> >args = exc.args[0]
> >if args.find('management') != -1:
> >    raise
>
> YM
>
> if 'management' in args:
>     raise
>
> HTH, HAND  ;-)
> --
> Aahz ([EMAIL PROTECTED])           <*>        http://www.pythoncraft.com/
>
> "Typing is cheap.  Thinking is expensive."  --Roy Smith

Oops...I've used this method myself. Your method is definitely nicer
and likelier more "Pythonic" than mine. Live and learn.

Mike
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to