aboutsummaryrefslogtreecommitdiff
path: root/wqflask/secure_server.py
diff options
context:
space:
mode:
authorSam2013-09-04 15:31:22 -0500
committerSam2013-09-04 15:31:22 -0500
commit8d61798c41f9ec77dea3231cbcf0957c7cadc533 (patch)
tree1092463d4e09698fd90931c090f3c61487133e70 /wqflask/secure_server.py
parentcd4d985e7142f92e18f8cf316c72073cb3609a85 (diff)
downloadgenenetwork2-8d61798c41f9ec77dea3231cbcf0957c7cadc533.tar.gz
Trying to trace through files
Diffstat (limited to 'wqflask/secure_server.py')
-rw-r--r--wqflask/secure_server.py19
1 files changed, 2 insertions, 17 deletions
diff --git a/wqflask/secure_server.py b/wqflask/secure_server.py
index b877c544..697ebfe0 100644
--- a/wqflask/secure_server.py
+++ b/wqflask/secure_server.py
@@ -1,4 +1,4 @@
-from __future__ import print_function, division, absolute_import
+from __future__ import absolute_import, division, print_function
from wqflask import app
@@ -28,21 +28,6 @@ logging_tree.printout()
import sys
print("At startup, path is:", sys.path)
-
-########
-def tracefunc(frame, event, arg, indent=[0]):
- if event == "call":
- indent[0] += 2
- print("-" * indent[0] + "> call function", frame.f_code.co_name)
- elif event == "return":
- print("<" + "-" * indent[0], "exit function", frame.f_code.co_name)
- indent[0] -= 2
- return tracefunc
-
-import sys
-sys.settrace(tracefunc)
-##############
-
#print("app.config is:", app.config)
if __name__ == '__main__':
@@ -51,4 +36,4 @@ if __name__ == '__main__':
port=app.config['SERVER_PORT'],
use_debugger=False,
threaded=True,
- use_reloader=True)
+ use_reloader=False)