aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/utilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance/utilities.py')
-rw-r--r--scripts/maintenance/utilities.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/maintenance/utilities.py b/scripts/maintenance/utilities.py
index 886410c2..1fe14809 100644
--- a/scripts/maintenance/utilities.py
+++ b/scripts/maintenance/utilities.py
@@ -1,16 +1,6 @@
-import MySQLdb
import re
import configparser
-def get_cursor():
- host = 'tux.uthsc.edu'
- user = 'webqtlout'
- passwd = 'webqtlout'
- db = 'db_webqtl'
- con = MySQLdb.Connect(db=db, host=host, user=user, passwd=passwd)
- cursor = con.cursor()
- return cursor, con
-
def clearspaces(s, default=None):
if s:
s = re.sub('\s+', ' ', s)