On Fri, 07 Jul 2006 06:59:12 -0700
"Sean Jamieson" <[EMAIL PROTECTED]> wrote:

> 
> reg isn't a dict, is it?
> it looks like it's an SQLObject, which means that the `get()` method
> is trying to find a record by id.
> 
> now if you want the rxName attribute of the RegExps object, then you
> need to do reg.rxName
> 
> Sean

Or getattr(reg, "rxName").  That's also a function you can specify a
default value for getattr(reg, "rxName", None).

Jason

Attachment: signature.asc
Description: PGP signature

Reply via email to