diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/pysss_nss_idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/pysss_nss_idmap.c b/src/python/pysss_nss_idmap.c index 0d596390..c938ff7a 100644 --- a/src/python/pysss_nss_idmap.c +++ b/src/python/pysss_nss_idmap.c @@ -236,7 +236,7 @@ static PyObject *check_args(enum lookup_type type, PyObject *args) return NULL; } - if (PySequence_Check(obj)) { + if (PyList_Check(obj) || PyTuple_Check(obj)) { len = PySequence_Size(obj); for(i=0; i < len; i++) { py_value = PySequence_GetItem(obj, i); |