Add very basic database stuff



git-svn-id: http://test.kernel.org/svn/autotest/trunk@313 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/db.py b/tko/db.py
new file mode 100644
index 0000000..d349ed4
--- /dev/null
+++ b/tko/db.py
@@ -0,0 +1,12 @@
+import sqlite
+
+class db:
+	def __init__(self):
+		self.con = sqlite.connect('tko_db')
+		self.cur = self.con.cursor()
+
+
+	def select(self, cmd):
+		self.cur.execute('select ' + cmd)
+		return self.cur.fetchall()
+