On May 21, 2008, at 5:45 PM, johnf wrote:

> "c:\python25\lib\site-packages\Dabo-0.8.3-py2.5.egg\dabo\db 
> \dBackend.py",
>  line 207, in beginTransaction
>   self._connection.begin()
> AttributeError: pymssqlCnx instance has no attribute 'begin'
>
> I suggested that he add the following to dbMsSQL
>
>       def beginTransaction(self, cursor):
>               return True
>
> Anybody see a problem?


        Probably a cleaner implementation would be:

def beginTransaction(self, cursor):
        """Not used in MS-SQL"""
        pass

        But yeah, what you wrote should work. Did it?

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to