bugfix: need to parse the cache limits.
This commit is contained in:
parent
a533b1722a
commit
7e84291833
@ -45,7 +45,7 @@ pywikidiff2_init(pywikidiff2Obj *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
// here's where we set non-default configuration values
|
||||
static char *kwlist[] = {"num_context_lines", "moved_line_threshold", "change_threshold", "moved_paragraph_detection_cutoff", "max_word_level_diff_complexity", "max_split_size", "initial_split_threshold", "final_split_threshold", "words_cache_capacity", "diff_cache_capacity", "stats_cache_capacity", NULL};
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iffiiiff", kwlist,
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iffiiiffiii", kwlist,
|
||||
&self->config.numContextLines,
|
||||
&self->config.movedLineThreshold,
|
||||
&self->config.changeThreshold,
|
||||
|
Loading…
Reference in New Issue
Block a user