commit | d24fdbcff39d4470b4e4813e95f9e7b57078aa1f | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Aug 30 10:21:51 2007 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Aug 30 10:21:51 2007 +0000 |
tree | d6a1982cb487caa868ba10febe8949aa9aeee47a | |
parent | a79f1254ff4658776f1b41b98e0fb8548694fe2a [diff] |
Use s# instead of t# for nis_match.
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 @@ 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))