On Apr 7, 10:43 pm, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> aspineux schrieb:
>
> > But the problem is at line 92 !
> > Tg should always reuse the same provider !
> > And not create a new one every time I create a new user !
>
> Can you make a trac ticket for this and the other issue you mentioned?
Yes I will, I'm busy now, but tomorrow.
> This needs probably some investigation.
My provider was already thread safe, I just made it a singleton this
way, with success.
class saldapprovider(.....):
....
def __call__(self):
retrun self
saldapprovider=saldapprovider()
Regards.
>
> -- Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---