Fix a bad cut and paste in read_write definition...
authorJean-Francois Pieronne <jf.pieronne@laposte.net>
Thu, 01 Jul 2010 13:37:56 +0200
changeset 156ce6f3e4f341f
parent 155 01a3d252309b
child 157 b7e2edcaed4c
Fix a bad cut and paste in read_write definition...
python/local/rdb/__init__.py
     1.1 --- a/python/local/rdb/__init__.py
     1.2 +++ b/python/local/rdb/__init__.py
     1.3 @@ -90,9 +90,9 @@
     1.4     """Start a read only transaction"""
     1.5     Statement('set transaction read only').execute()
     1.6  
     1.7 +def read_write():
     1.8     """Start a read write transaction"""
     1.9 -def read_write():
    1.10 -   Statement('set transaction read only').execute()
    1.11 +   Statement('set transaction read write').execute()
    1.12  
    1.13  def commit():
    1.14     Statement('commit').execute()