diff options
author | root | 2014-02-19 15:42:35 -0600 |
---|---|---|
committer | root | 2014-02-19 15:42:35 -0600 |
commit | e1165a5d29bc435afd31f6a78061ea80203e9552 (patch) | |
tree | 799468b8e862ba49c108317a5e10a110e3413bf5 /wqflask/maintenance/dataset/utilities.py | |
parent | 65abf86206da02c682ca0ca3edcdf26519958cfd (diff) | |
download | genenetwork2-e1165a5d29bc435afd31f6a78061ea80203e9552.tar.gz |
Committer: root <root@alexandria.uthsc.edu>
On branch master
Diffstat (limited to 'wqflask/maintenance/dataset/utilities.py')
-rw-r--r-- | wqflask/maintenance/dataset/utilities.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/maintenance/dataset/utilities.py b/wqflask/maintenance/dataset/utilities.py index e542cb43..fac24943 100644 --- a/wqflask/maintenance/dataset/utilities.py +++ b/wqflask/maintenance/dataset/utilities.py @@ -9,8 +9,8 @@ def get_cursor(): db = 'db_webqtl' con = MySQLdb.Connect(db=db, host=host, user=user, passwd=passwd) cursor = con.cursor() - return cursor - + return cursor, con + def clearspaces(s, default=None): if s: s = re.sub('\s+', ' ', s) |