diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 18:28:07 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 18:28:07 +0100 |
| commit | 628fb1fbae2a9e3e8fc3add070bceb5557973029 (patch) | |
| tree | 7e46ad228722cf5b6e7f4b54b9100d6cf638a135 /src/report-python/reportmodule.c | |
| parent | 93d5d8a317ec9294bbd6dcc6bd8baec0c2b63b1b (diff) | |
| download | abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.tar.gz abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.tar.xz abrt-628fb1fbae2a9e3e8fc3add070bceb5557973029.zip | |
create_dump_dir: add base_dir_name parameter.
This makes python wrappers more usable.
src/report-python/test_full demonstrates how pyhton
programs can run reporting now.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/reportmodule.c')
| -rw-r--r-- | src/report-python/reportmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c index db9f52d9..13184cc0 100644 --- a/src/report-python/reportmodule.c +++ b/src/report-python/reportmodule.c @@ -22,9 +22,10 @@ PyObject *ReportError; static PyMethodDef module_methods[] = { + /* method_name, func, flags, doc_string */ { "dd_opendir" , p_dd_opendir, METH_VARARGS, NULL }, { "dd_create" , p_dd_create, METH_VARARGS, NULL }, -// { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS, NULL }, + { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS, NULL }, { NULL } }; |
