[PATCH] Add more stuff to the exception reporting skip list.

Chris Lumens clumens at redhat.com
Thu Feb 21 15:55:46 UTC 2013


For me, this reduces the time from traceback to dialog from at least ten
seconds to almost instantaneous.  And it's not helpful stuff either.  If
you see it take a very long time to generate a traceback file, please
check the file and see if it's because something is being pickled that
doesn't need to be.
---
 pyanaconda/exception.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 6df7251..5701ed2 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -167,6 +167,9 @@ def initExceptionHandling(anaconda):
     conf = Config(programName="anaconda",
                   programVersion=isys.getAnacondaVersion(),
                   attrSkipList=["_intf._actions",
+                                "_intf._currentAction._xklwrapper",
+                                "_intf._currentAction.language.translations",
+                                "_intf._currentAction.language.locales",
                                 "_intf.storage.bootloader.password",
                                 "_intf.storage.data",
                                 "_intf.storage.encryptionPassphrase",
-- 
1.8.1.2



More information about the anaconda-patches mailing list