fixed error report data submission

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1124 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-04 16:39:52 +00:00
parent c4c536a63a
commit dc5584c84a
+2 -1
View File
@@ -224,6 +224,7 @@ def load_conf_cache():
print_warning(red("Please run: ")+bold("equo conf update"))
try:
rc
rc = 0
# sync mirrors tool
if (options[0] == "update") or (options[0] == "repoinfo") or (options[0] == "status"):
@@ -390,7 +391,7 @@ except Exception:
email = readtext("Your E-Mail address: ")
errorText = ''.join(errorText)
error = ErrorReportInterface()
error.prepare(errorText,name,email,exception_data)
error.prepare(errorText,name,email,'\n'.join([str(x) for x in exception_data]))
result = error.submit()
if (result):
print_error(darkgreen("Thank you very much. The error has been reported and hopefully, the problem will be solved as soon as possible."))