diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-29 16:54:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-29 16:54:11 +0200 |
commit | 8a917423793e79b9290606ac05ba8341da871c18 (patch) | |
tree | 63abdc9617ed6a29dbc8a7f864e03b3e87abba17 /lib/Utils/make_descr.cpp | |
parent | 8b2e49a8152d49831e357d1f128848d6c4dab889 (diff) | |
download | abrt-8a917423793e79b9290606ac05ba8341da871c18.tar.gz abrt-8a917423793e79b9290606ac05ba8341da871c18.tar.xz abrt-8a917423793e79b9290606ac05ba8341da871c18.zip |
remove obsolete Catcut and rhfastcheck reporters
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/make_descr.cpp')
-rw-r--r-- | lib/Utils/make_descr.cpp | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp index 6f2586eb..7faafcb3 100644 --- a/lib/Utils/make_descr.cpp +++ b/lib/Utils/make_descr.cpp @@ -234,69 +234,3 @@ string make_description_reproduce_comment(const map_crash_data_t& pCrashData) } return howToReproduce + comment; } - -/* This needs more work to make the result less ugly */ -string make_description_catcut(const map_crash_data_t& pCrashData) -{ - map_crash_data_t::const_iterator end = pCrashData.end(); - map_crash_data_t::const_iterator it; - - string howToReproduce; - it = pCrashData.find(FILENAME_REPRODUCE); - if (it != end) - { - howToReproduce = "\n\nHow to reproduce\n" - "-----\n"; - howToReproduce += it->second[CD_CONTENT]; - } - string comment; - it = pCrashData.find(FILENAME_COMMENT); - if (it != end) - { - comment = "\n\nComment\n" - "-----\n"; - comment += it->second[CD_CONTENT]; - } - - string pDescription = "\nabrt "VERSION" detected a crash.\n"; - pDescription += howToReproduce; - pDescription += comment; - pDescription += "\n\nAdditional information\n" - "======\n"; - - for (it = pCrashData.begin(); it != end; it++) - { - const string &filename = it->first; - const string &type = it->second[CD_TYPE]; - const string &content = it->second[CD_CONTENT]; - if (type == CD_TXT) - { - if (content.length() <= CD_TEXT_ATT_SIZE) - { - if (filename != CD_DUPHASH - && filename != FILENAME_ARCHITECTURE - && filename != FILENAME_RELEASE - && filename != FILENAME_REPRODUCE - && filename != FILENAME_COMMENT - ) { - pDescription += '\n'; - pDescription += filename; - pDescription += "\n-----\n"; - pDescription += content; - pDescription += "\n\n"; - } - } else { - pDescription += "\n\nAttached files\n" - "----\n"; - pDescription += filename; - pDescription += '\n'; - } - } - else if (type == CD_BIN) - { - error_msg(_("Binary file %s will not be reported"), filename.c_str()); - } - } - - return pDescription; -} |