aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/dataset/utilities/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/maintenance/dataset/utilities/db.py')
-rw-r--r--wqflask/maintenance/dataset/utilities/db.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/wqflask/maintenance/dataset/utilities/db.py b/wqflask/maintenance/dataset/utilities/db.py
deleted file mode 100644
index 453ee707..00000000
--- a/wqflask/maintenance/dataset/utilities/db.py
+++ /dev/null
@@ -1,10 +0,0 @@
-import MySQLdb
-
-def get_cursor():
- host = 'localhost'
- user = 'webqtl'
- passwd = 'webqtl'
- db = 'db_webqtl'
- con = MySQLdb.Connect(db=db, host=host, user=user, passwd=passwd)
- cursor = con.cursor()
- return cursor \ No newline at end of file