diff options
author | Michal Toman <mtoman@redhat.com> | 2011-04-11 10:58:39 +0200 |
---|---|---|
committer | Michal Toman <mtoman@redhat.com> | 2011-04-11 10:58:39 +0200 |
commit | 318b597d4cce4a97b161cffb2b47435b58abb1a0 (patch) | |
tree | 0686ba4a9afdbcfe23a1c1cd1b15ad4e3c8ddadb | |
parent | 286e6f36c69f428a32568a611c6c44e01c7b9be5 (diff) | |
download | abrt-318b597d4cce4a97b161cffb2b47435b58abb1a0.tar.gz abrt-318b597d4cce4a97b161cffb2b47435b58abb1a0.tar.xz abrt-318b597d4cce4a97b161cffb2b47435b58abb1a0.zip |
retrace server: do not append root log to retrace_log
-rwxr-xr-x | src/retrace/worker.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/retrace/worker.py b/src/retrace/worker.py index d0f0ee7d..03d5f405 100755 --- a/src/retrace/worker.py +++ b/src/retrace/worker.py @@ -197,14 +197,6 @@ if __name__ == "__main__": retrace_run(26, ["mock", "-r", mockr, "--copyin", "%s/crash" % savedir, "/var/spool/abrt/crash"]) retrace_run(27, ["mock", "-r", mockr, "shell", "--", "chgrp", "-R", "mockbuild", "/var/spool/abrt/crash"]) - try: - rootfile = open("%s/chroot/result/root.log" % workdir, "r") - rootlog = rootfile.read() - rootfile.close() - except Exception as ex: - LOG.write("Error reading root log: %s.\n" % ex) - rootlog = "Not found" - # generate backtrace LOG.write("Generating backtrace... ") @@ -289,5 +281,4 @@ if __name__ == "__main__": LOG.write("OK\n") LOG.write("Retrace took %d seconds.\n" % duration) - LOG.write("\n=== ROOT LOG ===\n%s\n" % rootlog) LOG.close() |