From d24fdbcff39d4470b4e4813e95f9e7b57078aa1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 30 Aug 2007 10:21:51 +0000 Subject: Use s# instead of t# for nis_match. --- Modules/nismodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/nismodule.c b/Modules/nismodule.c index 859042f..bf2d185 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -163,7 +163,7 @@ nis_match (PyObject *self, PyObject *args, PyObject *kwdict) static char *kwlist[] = {"key", "map", "domain", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kwdict, - "t#s|s:match", kwlist, + "s#s|s:match", kwlist, &key, &keylen, &map, &domain)) return NULL; if (!domain && ((err = yp_get_default_domain(&domain)) != 0)) -- cgit v0.12