0 1 0
default
Jean-Francois Pieronne - 11 years ago 2009-01-03 16:40:43
jf.pieronne@laposte.net
Bugfix from voalp
1 file changed with 3 insertions and 3 deletions:
↑ Collapse Diff ↑
...
 
@@ -62,7 +62,7 @@ class Cursor(object):
62 62
 
        if self.stmt and self.stmt.isOpen():
63 63
 
            self.stmt.close()
64 64
 
            self.stmt = None
65
 
        self.stmt = Statement(operation)
65
 
        self.stmt = rdb.Statement(operation)
66 66
 
        if self.stmt.isOpen():
67 67
 
            self.stmt.close()
68 68
 
        for args in seq:
...
 
@@ -122,12 +122,12 @@ class Connection(object):
122 122
 
            raise ProgrammingError
123 123
 
        rdb.declare_transaction(default_transaction)
124 124
 

	
125
 
    def start_read_only():
125
 
    def start_read_only(self):
126 126
 
        if not self.is_open:
127 127
 
            raise ProgrammingError
128 128
 
        rdb.read_only()
129 129
 

	
130
 
    def start_read_write():
130
 
    def start_read_write(self):
131 131
 
        if not self.is_open:
132 132
 
            raise ProgrammingError
133 133
 
        rdb.read_write()
0 comments (0 inline, 0 general)