qira patch

This commit is contained in:
Yan 2017-09-01 17:21:39 -07:00
parent e8b8b976ba
commit bc8e886fe9
2 changed files with 14 additions and 0 deletions

View file

@ -18,6 +18,7 @@ sed -i '/eval $(opam config env)/d' qira
sed -i 's/\.\/bap_install.sh/#.\/bap_install.sh/g' install.sh
./install.sh
git apply ../qira_fix.patch
cd ..
mkdir -p bin

13
qira/qira_fix.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/middleware/qira_webserver.py b/middleware/qira_webserver.py
index 3eac66a..068df7a 100644
--- a/middleware/qira_webserver.py
+++ b/middleware/qira_webserver.py
@@ -431,7 +431,7 @@ def run_server(largs, lprogram):
print "****** starting WEB SERVER on %s:%d" % (qira_config.HOST, qira_config.WEB_PORT)
threading.Thread(target=mwpoller).start()
try:
- socketio.run(app, host=qira_config.HOST, port=qira_config.WEB_PORT, log=open("/dev/null", "w"))
+ socketio.run(app, host=qira_config.HOST, port=qira_config.WEB_PORT)
except KeyboardInterrupt:
print "*** User raised KeyboardInterrupt"
exit()