MCPcopy
hub / github.com/ytisf/theZoo / query

Method query

imports/db_handler.py:27–32  ·  view source on GitHub ↗
(self, query, param='')

Source from the content-addressed store, hash-verified

25 return [val[0] for val in self.cur.execute("SELECT NAME FROM Malwares").fetchall()]
26
27 def query(self, query, param=''):
28 try:
29 return self.cur.execute(query, param).fetchall()
30 except lite.Error as e:
31 print "An error occurred:", e.args[0]
32 sys.exit()

Callers 2

get_malwareMethod · 0.95
sortMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected