MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / close

Method close

plugins/generic/connector.py:48–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.cursor = self.connector.cursor()
47
48 def close(self):
49 try:
50 if self.cursor:
51 self.cursor.close()
52 if self.connector:
53 self.connector.close()
54 except Exception as ex:
55 logger.debug(ex)
56 finally:
57 self.closed()
58
59 def checkFileDb(self):
60 if not os.path.exists(self.db):

Callers 1

connectMethod · 0.45

Calls 2

closedMethod · 0.95
debugMethod · 0.80

Tested by

no test coverage detected