[PATCH 1/3] Move HW errors processing to the code that runs in the main thread

Vratislav Podzimek vpodzime at redhat.com
Mon Jan 12 17:17:56 UTC 2015


On Mon, 2015-01-12 at 10:00 -0500, Chris Lumens wrote:
> > Also rename the run_handleException function to main_thread_handleException
> > which better explains its purpose.
> 
> ...
> 
> > diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
> > index b8b8f4f..9a4e676 100644
> > --- a/pyanaconda/exception.py
> > +++ b/pyanaconda/exception.py
> > @@ -60,7 +60,7 @@ class AnacondaExceptionHandler(ExceptionHandler):
> >          self._gui_lock = gui_lock
> >          self._intf_tty_num = tty_num
> >  
> > -    def run_handleException(self, dump_info):
> > +    def _main_loop_handleException(self, dump_info):
> >          """
> >          Helper method with one argument only so that it can be registered
> >          with GLib.idle_add() to run on idle or called from a handler.
Good catch, thanks! Fixing locally.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list