[rhel7-branch 4/29] remove epdb SIGHUP debug handler (#1065557)

bcl installerbot-noreply at redhat.com
Tue Jun 2 00:31:05 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

epdb isn't being shipped so remove the debug handler.

Related: rhbz#1065557
(cherry picked from commit 3b8841e6930ead335052f9fad4529c0652937781)

Related: rhbz#1196721
---
 anaconda | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/anaconda b/anaconda
index 0213351..ac9a17c 100755
--- a/anaconda
+++ b/anaconda
@@ -669,11 +669,6 @@ def check_memory(anaconda, options, display_mode=None):
                 anaconda.displayMode = 't'
                 time.sleep(2)
 
-def startDebugger(signum, frame):
-    # pylint: disable=import-error
-    import epdb
-    epdb.serve(skip=1)
-
 # pylint: disable=redefined-outer-name
 def setupDisplay(anaconda, options, addons=None):
     from pyanaconda.ui.tui.simpleline import App
@@ -1052,8 +1047,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
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/2a6a0b8476e77a2430aec3176a06262c394dbf5e


More information about the anaconda-patches mailing list