On Mar 12, 2007, at 1:30 PM, dsmath wrote:

>
>> Accidental Urine Leaks ? End Urinary Incontinencehttp:// 
>> www.WomanWellnessCenter.com
>
> I've actually written a "hold_pee" decorator for my own purposes to
> add as some middleware around the __before__ clause in
> BaseController.  Hope this helps.
>
> def hold_pee(f):
>   def gusset(*args, **kargs):
>       while leaking:
>           absorb()
>       f(*args, **kargs)
>   return gusset
>

Don't forget to flush() your SQLAlchemy session when you're done

--
Philip Jenvey



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to