(self)
| 61 | cursor = property(_get_cursor, _set_cursor) |
| 62 | |
| 63 | def close(self): |
| 64 | threadData = getCurrentThreadData() |
| 65 | try: |
| 66 | if threadData.hashDBCursor: |
| 67 | threadData.hashDBCursor.connection.commit() |
| 68 | threadData.hashDBCursor.close() |
| 69 | threadData.hashDBCursor.connection.close() |
| 70 | threadData.hashDBCursor = None |
| 71 | except: |
| 72 | pass |
| 73 | |
| 74 | def closeAll(self): |
| 75 | for connection in self._connections: |
no test coverage detected