aboutsummaryrefslogtreecommitdiff
path: root/wqflask/db
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/db')
-rw-r--r--wqflask/db/call.py4
-rw-r--r--wqflask/db/gn_server.py3
2 files changed, 0 insertions, 7 deletions
diff --git a/wqflask/db/call.py b/wqflask/db/call.py
index 1fe0772b..a6bbda54 100644
--- a/wqflask/db/call.py
+++ b/wqflask/db/call.py
@@ -31,9 +31,6 @@ GN_SERVER result when set (which should return a Tuple)
res2 = func(result)
else:
res2 = result,
- if LOG_SQL:
- logger.debug("Replaced SQL call", query)
- logger.debug(path, res2)
return res2
else:
return fetchone(query)
@@ -75,5 +72,4 @@ def gn_server(path):
res = urllib2.urlopen(GN_SERVER_URL + path)
rest = res.read()
res2 = json.loads(rest)
- logger.debug(res2)
return res2
diff --git a/wqflask/db/gn_server.py b/wqflask/db/gn_server.py
index f9b01658..af6682ba 100644
--- a/wqflask/db/gn_server.py
+++ b/wqflask/db/gn_server.py
@@ -2,9 +2,6 @@
from db.call import gn_server
-from utility.logger import getLogger
-logger = getLogger(__name__)
-
def menu_main():
return gn_server("/int/menu/main.json")