[Zope-dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Chris Withers
Hi All, I used to do this: import transaction with transaction: ... print 'hello' ... Traceback (most recent call last): File console, line 1, in module AttributeError: __exit__ When did that stop working and what should I now do instead? cheers, Chris -- Simplistix - Content

Re: [Zope-dev] [ZODB-Dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Arfrever Frehtes Taifersar Arahesis
2013-02-06 09:57:14 Chris Withers napisaƂ(a): I used to do this: import transaction with transaction: ... print 'hello' ... Traceback (most recent call last): File console, line 1, in module AttributeError: __exit__ When did that stop working and what should I now do instead?

Re: [Zope-dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Duncan Booth
Chris Withers ch...@simplistix.co.uk wrote: Hi All, I used to do this: import transaction with transaction: ... print 'hello' ... Traceback (most recent call last): File console, line 1, in module AttributeError: __exit__ When did that stop working and what should I now do

Re: [Zope-dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Wichert Akkerman
On Feb 6, 2013, at 11:54 , Duncan Booth duncan.bo...@suttoncourtenay.org.uk wrote: Chris Withers ch...@simplistix.co.uk wrote: Hi All, I used to do this: import transaction with transaction: ... print 'hello' ... Traceback (most recent call last): File console, line 1, in

Re: [Zope-dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Chris Withers
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

[Zope-dev] z3c.datagenerator Github repos needed

2013-02-06 Thread Stephan Richter
Hi everyone, could I have a Github repository for z3c.datagenerator please? I will also need the secret authors.txt file. Also, could I receive the ability to create repositories? Regards, Stephan -- Entrepreneur and Software Geek Google me. Zope Stephan Richter

[Zope-dev] zope-tests - FAILED: 5, OK: 23

2013-02-06 Thread Zope tests summarizer
This is the summary for test reports received on the zope-tests list between 2013-02-05 00:00:00 UTC and 2013-02-06 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation:

Re: [Zope-dev] zope-tests - FAILED: 5, OK: 23

2013-02-06 Thread Marius Gedminas
On Thu, Feb 07, 2013 at 01:00:02AM +, Zope tests summarizer wrote: This is the summary for test reports received on the zope-tests list between 2013-02-05 00:00:00 UTC and 2013-02-06 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the