fix comment typo
This commit is contained in:
parent
e2bd66d56f
commit
65d8951e44
@ -1129,7 +1129,7 @@ Query_fetchmany(recoll_QueryObject* self, PyObject *args, PyObject *kwargs)
|
|||||||
}
|
}
|
||||||
int cnt = self->query->getResCnt();
|
int cnt = self->query->getResCnt();
|
||||||
if (cnt <= 0 || self->next < 0) {
|
if (cnt <= 0 || self->next < 0) {
|
||||||
# PEP 249 says to raise exception if no result set
|
// PEP 249 says to raise exception if no result set
|
||||||
PyErr_SetString(PyExc_AttributeError, "query");
|
PyErr_SetString(PyExc_AttributeError, "query");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user