[ZODB-Dev] [Zope-dev] when did transaction lose the ability to be usable as a context manager?
    Chris Withers 
    chris at simplistix.co.uk
       
    Wed Feb  6 14:05:32 UTC 2013
    
    
  
On 06/02/2013 11:47, Wichert Akkerman wrote:
>
> You can also use the transaction manager directly instead of the bound methods transaction lifts out of it:
>
> import transaction
> with transaction.manager:
>      pass
yeah, this is what I'll do.
Chris
-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk
    
    
More information about the ZODB-Dev
mailing list