Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:matthewdva:dnf
libdnf
0005-Handle-exception-in-a-python-binding-by-th...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Handle-exception-in-a-python-binding-by-the-proper-function-RhBug-1870492.patch of Package libdnf
diff -u b/python/hawkey/goal-py.cpp b/python/hawkey/goal-py.cpp --- b/python/hawkey/goal-py.cpp +++ b/python/hawkey/goal-py.cpp @@ -253,7 +253,7 @@ int c_value = PyObject_IsTrue(value); self->goal->set_protect_running_kernel(c_value); return 0; -} CATCH_TO_PYTHON +} CATCH_TO_PYTHON_INT static PyObject * erase(_GoalObject *self, PyObject *args, PyObject *kwds) try @@ -645,7 +645,7 @@ static PyGetSetDef goal_getsetters[] = { {(char*)"actions", (getter)get_actions, NULL, NULL, NULL}, - {"protect_running_kernel", (getter)get_protect_running_kernel, + {(char*)"protect_running_kernel", (getter)get_protect_running_kernel, (setter)set_protect_running_kernel, NULL, NULL}, {NULL} /* sentinel */ };
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor