Commit 15c1948f authored by Jérome Perrin's avatar Jérome Perrin

stack/resilient: don't enable cgitb

This should only be used for development
parent c8b08f21
...@@ -46,7 +46,7 @@ md5sum = 2c9828b57a65ee1eda62fcc4e9a92714 ...@@ -46,7 +46,7 @@ md5sum = 2c9828b57a65ee1eda62fcc4e9a92714
[resilient-web-takeover-cgi-script-download] [resilient-web-takeover-cgi-script-download]
filename = resilient-web-takeover-cgi-script.py.in filename = resilient-web-takeover-cgi-script.py.in
md5sum = 4137b7ac6b20a6cd897ad58f51a763b1 md5sum = 261d00f9ae4f75881385727832eec249
[template-wrapper] [template-wrapper]
filename = templates/wrapper.in filename = templates/wrapper.in
......
...@@ -7,7 +7,6 @@ takeover_script = '${resiliency-takeover-script:wrapper-takeover}' ...@@ -7,7 +7,6 @@ takeover_script = '${resiliency-takeover-script:wrapper-takeover}'
import atexit import atexit
import cgi import cgi
import cgitb
import datetime import datetime
try: try:
import dbm.gnu as gdbm import dbm.gnu as gdbm
...@@ -25,8 +24,6 @@ if os.path.exists('resilient_software_release_information.py'): ...@@ -25,8 +24,6 @@ if os.path.exists('resilient_software_release_information.py'):
else: else:
resilient_main = lambda: {} resilient_main = lambda: {}
cgitb.enable()
def deleteTemporaryDirectory(path): def deleteTemporaryDirectory(path):
if os.path.exists(path): if os.path.exists(path):
shutil.rmtree(path) shutil.rmtree(path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment