summaryrefslogtreecommitdiffstats
path: root/src/report-python
diff options
context:
space:
mode:
Diffstat (limited to 'src/report-python')
-rw-r--r--src/report-python/reportmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c
index fd58a3bd..41f0ba29 100644
--- a/src/report-python/reportmodule.c
+++ b/src/report-python/reportmodule.c
@@ -75,7 +75,8 @@ init_pyreport(void)
Py_INCREF(&p_dump_dir_type);
PyModule_AddObject(m, "dump_dir", (PyObject *)&p_dump_dir_type);
- PyModule_AddObject(m, "DD_FAIL_QUIETLY" , Py_BuildValue("i", DD_FAIL_QUIETLY ));
+ PyModule_AddObject(m, "DD_FAIL_QUIETLY_ENOENT" , Py_BuildValue("i", DD_FAIL_QUIETLY_ENOENT ));
+ PyModule_AddObject(m, "DD_FAIL_QUIETLY_EACCES" , Py_BuildValue("i", DD_FAIL_QUIETLY_EACCES ));
PyModule_AddObject(m, "DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE", Py_BuildValue("i", DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE));
Py_INCREF(&p_run_event_state_type);