[python-win32] adodbapi transaction counter

Jure Erznožnik Jure.Erznoznik at perftech.si
Fri Nov 14 08:18:38 CET 2014


Thanks. And thanks for this nice lib. It was the final thing I needed to finally run 2to3 on my projects :D

LP,
Jure

From: Vernon D. Cole [mailto:vernondcole at gmail.com]
Sent: Thursday, November 13, 2014 10:36 PM
To: Jure Erznožnik
Cc: python-win32 at python.org
Subject: Re: [python-win32] adodbapi transaction counter


On Wed, Nov 12, 2014 at 7:32 AM, Jure Erznožnik <Jure.Erznoznik at perftech.si<mailto:Jure.Erznoznik at perftech.si>> wrote:
if self.transaction_level == 0 or self.transaction_level is None

Rats! That's what I get for copying code that I don't really understand. My simple tests passed this as okay.
I have changed the test to "if not self.transaction_level:" in order to fix the bug and avoid the "or" operation at the same time. That's pretty obscure, so I use your version as the comment. This bug fix will define version 2.6.1.2 -- to be pushed to pypi after testing.
--
Vernon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20141114/2e579a1d/attachment.html>


More information about the python-win32 mailing list