Fixed: typo in repository.c
This commit is contained in:
@@ -528,7 +528,7 @@ Repository_config__get__(Repository *self)
|
|||||||
py_config->config = config;
|
py_config->config = config;
|
||||||
self->config = (PyObject*)py_config;
|
self->config = (PyObject*)py_config;
|
||||||
// We need 2 refs here.
|
// We need 2 refs here.
|
||||||
// One is returned, one is keep internally.
|
// One is returned, one is kept internally.
|
||||||
Py_INCREF(self->config);
|
Py_INCREF(self->config);
|
||||||
} else {
|
} else {
|
||||||
Py_INCREF(self->config);
|
Py_INCREF(self->config);
|
||||||
|
Reference in New Issue
Block a user