summaryrefslogtreecommitdiffstats
path: root/pyanaconda/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-08-23 14:21:47 -0400
committerChris Lumens <clumens@redhat.com>2012-08-23 16:23:53 -0400
commit79b2e924c723421422e8626098371bef9f876a07 (patch)
tree243179b5642478c4601067426a11f8f76279edd0 /pyanaconda/exception.py
parentd2101c48c0d91ded4f4253fd6e2899e26c24da2f (diff)
downloadanaconda-79b2e924c723421422e8626098371bef9f876a07.tar.gz
anaconda-79b2e924c723421422e8626098371bef9f876a07.tar.xz
anaconda-79b2e924c723421422e8626098371bef9f876a07.zip
Put traceback reports on a diet.
This updates what attributes get written out to the traceback file for the newui. In particular, it avoids writing out all the yum stuff that makes the traceback file grow over 2 MB and take nearly a minute to pickle. It's entirely possible this is either skipping too much or writing out too much still, but we can work on that over time.
Diffstat (limited to 'pyanaconda/exception.py')
-rw-r--r--pyanaconda/exception.py29
1 files changed, 7 insertions, 22 deletions
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 70deed5d4..2ac513ba9 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -146,28 +146,13 @@ def initExceptionHandling(anaconda):
conf = Config(programName="anaconda",
programVersion=isys.getAnacondaVersion(),
- attrSkipList=[ "backend.ayum",
- "backend.dlpkgs",
- "accounts",
- "bootloader.password",
- "comps",
- "hdList",
- "ksdata",
- "instLanguage.font",
- "instLanguage.kbd",
- "instLanguage.info",
- "instLanguage.localeInfo",
- "instLanguage.nativeLangNames",
- "instLanguage.tz",
- "keyboard._mods._modelDict",
- "keyboard.modelDict",
- "storage.encryptionPassphrase",
- "users.rootPassword",
- "tmpData",
- "intf.icw.buff",
- "intf.icw.currentWindow.storage.encryptionPassphrase",
- "intf.icw.stockButtons",
- ],
+ attrSkipList=["_intf._actions",
+ "_intf.storage.bootloader.password",
+ "_intf.storage.data",
+ "_bootloader.encrypted_password",
+ "_bootloader.password",
+ "payload._groups",
+ "payload._yum"],
localSkipList=[ "passphrase", "password" ],
fileList=fileList)
handler = AnacondaExceptionHandler(conf, anaconda.intf, ReverseExceptionDump)