[rhel7] remove epdb SIGHUP debug handler (#1065557)
Brian C. Lane
bcl at redhat.com
Thu Feb 20 16:36:12 UTC 2014
epdb isn't being shipped so remove the debug handler.
Related: rhbz#1065557
---
anaconda | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/anaconda b/anaconda
index f7b859e..881477b 100755
--- a/anaconda
+++ b/anaconda
@@ -416,13 +416,6 @@ def check_memory(anaconda, opts, display_mode=None):
anaconda.displayMode = 't'
time.sleep(2)
-def startDebugger(signum, frame):
- try:
- import epdb
- epdb.serve(skip=1)
- except ImportError:
- log.error("Failed to start epdb remote debugging; epdb module import failed")
-
def setupDisplay(anaconda, opts, addon_paths=None):
from pyanaconda.ui.tui.simpleline import App
from pyanaconda.ui.tui.spokes.askvnc import AskVNCSpoke
@@ -780,8 +773,6 @@ if __name__ == "__main__":
pidfile = open("/var/run/anaconda.pid", "w")
pidfile.write("%s\n" % (os.getpid(),))
del pidfile
- # add our own additional signal handlers
- signal.signal(signal.SIGHUP, startDebugger)
anaconda.opts = opts
--
1.8.5.3
More information about the anaconda-patches
mailing list