summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-19 14:54:01 -0400
committerChris Lumens <clumens@redhat.com>2008-09-19 14:55:21 -0400
commitd2cd0e12170a75ac07ac867683205c0db3c28ace (patch)
treef9e3775c4af09f9fe70ef1b61b8f11ba336010b8 /exception.py
parent651e5d5d63bfc2154e0cc4548486af71e7b5b6e0 (diff)
downloadanaconda-d2cd0e12170a75ac07ac867683205c0db3c28ace.tar.gz
anaconda-d2cd0e12170a75ac07ac867683205c0db3c28ace.tar.xz
anaconda-d2cd0e12170a75ac07ac867683205c0db3c28ace.zip
Set the filename on the traceback when we upload it (wwoods).
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/exception.py b/exception.py
index 6d84c5154..b3bd6e039 100644
--- a/exception.py
+++ b/exception.py
@@ -426,7 +426,7 @@ def saveToBugzilla(anaconda, exn, dest):
withBugzillaDo(bug, lambda b: b.attachfile(exn.tbFile,
"Attached traceback automatically from anaconda.",
- contenttype="text/plain"))
+ contenttype="text/plain", filename="anacdump.txt"))
# Tell the user we created a new bug for them and that they should
# go add a descriptive comment.
@@ -442,7 +442,7 @@ def saveToBugzilla(anaconda, exn, dest):
bug = buglist[0]
withBugzillaDo(bug, lambda b: b.attachfile(exn.tbFile,
"Attached traceback automatically from anaconda.",
- contenttype="text/plain"))
+ contenttype="text/plain", filename="anacdump.txt"))
withBugzillaDo(bug, lambda b: b.addCC(dest[0]))
# Tell the user which bug they've been CC'd on and that they should