(self, dbpath)
| 23 | """ |
| 24 | |
| 25 | def __init__(self, dbpath): |
| 26 | try: |
| 27 | self.dbpath = dbpath |
| 28 | self.connection = sqlite3.connect(dbpath) |
| 29 | self.connection.isolation_level = None |
| 30 | self.cursor = self.connection.cursor() |
| 31 | except sqlite3.OperationalError as ex: |
| 32 | errMsg = "error occurred while opening a replication " |
| 33 | errMsg += "file '%s' ('%s')" % (dbpath, getSafeExString(ex)) |
| 34 | raise SqlmapConnectionException(errMsg) |
| 35 | |
| 36 | class DataType(object): |
| 37 | """ |
nothing calls this directly
no test coverage detected