diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-05-23 17:25:21 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-05-23 17:25:21 +0200 |
commit | 497c2f4e8ac6ed3621429b9a11b897d9fbb63ee0 (patch) | |
tree | 87743b78ac8c78dc23604115e787ae0f02aeb3f1 /src/report-python/__init__.py | |
parent | 28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4 (diff) | |
download | abrt-497c2f4e8ac6ed3621429b9a11b897d9fbb63ee0.tar.gz abrt-497c2f4e8ac6ed3621429b9a11b897d9fbb63ee0.tar.xz abrt-497c2f4e8ac6ed3621429b9a11b897d9fbb63ee0.zip |
obsolete report with libreport-python
Diffstat (limited to 'src/report-python/__init__.py')
-rw-r--r-- | src/report-python/__init__.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py index 3e55ea38..2e875638 100644 --- a/src/report-python/__init__.py +++ b/src/report-python/__init__.py @@ -111,15 +111,20 @@ def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSig cd = problem_data() cd.add("component", component) cd.add("hashmarkername", hashmarkername) - cd.add("localhash", hashvalue) - cd.add("summary", summary) + #cd.add("localhash", hashvalue) + cd.add("global_uuid", hashvalue) + cd.add("reason", summary) cd.add("description", alertSignature) cd.add("product", getProduct()) cd.add("version", getVersion()) return cd - +""" def report(cd, io_unused): state = run_event_state() #state.logging_callback = logfunc r = state.run_event_on_problem_data(cd, "report") return r +""" + +def report(pd, io_unused): + result = report_problem_data(pd) |