X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/0a6d581785a98cb205838c7b130700c571ea99a7..ab5212e53b51e516f086e20b66c121d966967a9a:/key.c?ds=sidebyside diff --git a/key.c b/key.c index 9a7de0c..7deb382 100644 --- a/key.c +++ b/key.c @@ -1,6 +1,4 @@ /* -*-c-*- - * - * $Id$ * * Key files and data * @@ -353,12 +351,11 @@ static PyObject *kdmeth_split(PyObject *me, PyObject *arg) static PyObject *kdmeth_copy(PyObject *me, PyObject *arg, PyObject *kw) { key_filter f = { 0, 0 }; - PyObject *rc = 0; static char *kwlist[] = { "filter", 0 }; key_data *kd; if (!PyArg_ParseTupleAndKeywords(arg, kw, "|O&:copy", kwlist, - conffilter, &f)) + convfilter, &f)) return (0); if ((kd = key_copydata(KEYDATA_KD(me), &f)) == 0) RETURN_NONE;