[rhel7] remove epdb SIGHUP debug handler (#1065557)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Thu Feb 20 17:29:45 UTC 2014
Looks good to me.
On Thu, Feb 20, 2014 at 08:36:12AM -0800, Brian C. Lane wrote:
> 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
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list