It appears that the problem may relate to the way some middleware I inherited 
is setting up the session.

It's set to autocommit=false, autoflush=true.

However: the problem I now see is that a transaction starts when I execute this 
line:

        website = session.query(WebSite).filter_by(domain=search).one() 

I hadn't even thought to check this. Why on earth would this need to start a 
transaction?

-- 
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.

Reply via email to