diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 04:48:22 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-16 04:48:22 +0100 |
commit | 27276b34e3631f60a2414ab9c199f28de9b03780 (patch) | |
tree | e83378b5e200f976a4a0f0d49f797cb488eb6f6d /src/report-python/dump_dir.c | |
parent | 6a2b728d7525214402eff838bb37be175ddce6c3 (diff) | |
download | abrt-27276b34e3631f60a2414ab9c199f28de9b03780.tar.gz abrt-27276b34e3631f60a2414ab9c199f28de9b03780.tar.xz abrt-27276b34e3631f60a2414ab9c199f28de9b03780.zip |
python wrapper: trivial cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/dump_dir.c')
-rw-r--r-- | src/report-python/dump_dir.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/report-python/dump_dir.c b/src/report-python/dump_dir.c index df61ea74..eb72e10b 100644 --- a/src/report-python/dump_dir.c +++ b/src/report-python/dump_dir.c @@ -22,7 +22,6 @@ #include <structmember.h> #include <errno.h> -#include "crash_dump.h" #include "dump_dir.h" #include "common.h" @@ -174,8 +173,6 @@ PyObject *p_dd_opendir(PyObject *module, PyObject *args) int flags = 0; if (!PyArg_ParseTuple(args, "s|i", &dir, &flags)) return NULL; -// PyObject *new_obj = PyObject_CallObject(&p_dump_dir_type, NULL); /* constructor call */ -// p_dump_dir *new_dd = (p_dump_dir*)new_obj; p_dump_dir *new_dd = PyObject_New(p_dump_dir, &p_dump_dir_type); if (!new_dd) return NULL; @@ -190,8 +187,6 @@ PyObject *p_dd_create(PyObject *module, PyObject *args) int uid; if (!PyArg_ParseTuple(args, "si", &dir, &uid)) return NULL; -// PyObject *new_obj = PyObject_CallObject(&p_dump_dir_type, NULL); /* constructor call */ -// p_dump_dir *new_dd = (p_dump_dir*)new_obj; p_dump_dir *new_dd = PyObject_New(p_dump_dir, &p_dump_dir_type); if (!new_dd) return NULL; |