aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-06-21 09:56:30 +0000
committerPjotr Prins2016-06-21 09:56:30 +0000
commit68e86bda88b948d4de858b1ef1855789f30a1074 (patch)
tree228b94b945d18be411dd7794fbe96ce3a7a6f481
parent67472b942129130ea77cb0a15e14ef42fd4d3b91 (diff)
downloadgenenetwork2-68e86bda88b948d4de858b1ef1855789f30a1074.tar.gz
Logger: message wording
-rw-r--r--wqflask/dbFunction/webqtlDatabaseFunction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/dbFunction/webqtlDatabaseFunction.py b/wqflask/dbFunction/webqtlDatabaseFunction.py
index 846d5146..e30929d2 100644
--- a/wqflask/dbFunction/webqtlDatabaseFunction.py
+++ b/wqflask/dbFunction/webqtlDatabaseFunction.py
@@ -51,7 +51,7 @@ def fetchone(query):
"""Return tuple containing one row by calling SQL directly
"""
- with Bench("SQL took",LOG_SQL):
+ with Bench("SQL",LOG_SQL):
def helper(query):
res = g.db.execute(query)
return res.fetchone()
@@ -62,7 +62,7 @@ def gn_server(path):
"""Return JSON record by calling GN_SERVER
"""
- with Bench("GN_SERVER took",LOG_SQL):
+ with Bench("GN_SERVER",LOG_SQL):
res = urllib2.urlopen("http://localhost:8880/"+path)
rest = res.read()
res2 = json.loads(rest)