[Biopython-dev] [Bug 2849] PyGresql PostgreSQL driver support for BioSQL is broken

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Jun 4 10:28:32 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2849





------- Comment #1 from biopython-bugzilla at maubp.freeserve.co.uk  2009-06-04 06:28 EST -------
We don't really need the auto commit statement in the unit test, what happens
on your machine if you remove it?

RCS file: /home/repository/biopython/biopython/Tests/test_BioSQL.py,v
retrieving revision 1.41
diff -r1.41 test_BioSQL.py
54,59d53
<     # Auto-commit: postgresql cannot drop database in a transaction
<     try:
<         server.adaptor.autocommit()
<     except AttributeError:
<         pass
< 

With the above change MySQL is happy.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list