python: Fix test stuff

This commit is contained in:
Martin Duquesnoy 2009-01-08 21:45:39 +01:00
parent e90fc58732
commit c6f4f09967

View File

@ -157,11 +157,9 @@ wmfs_spawn(PyObject *self, PyObject *args)
{
char *arg, *sh;
int t,tt,st;
Py_INCREF(Py_None);
if(!PyArg_ParseTuple(args, "(i|i)s", &t, &tt, &st, &arg))
if(!PyArg_ParseTuple(args, "s", &arg))
return NULL;
if(!(sh = getenv("SHELL")))
@ -179,8 +177,6 @@ wmfs_spawn(PyObject *self, PyObject *args)
exit(EXIT_SUCCESS);
}
printf("t: %d, tt: %d, st %d\n",t, tt, st);
return Py_None;
}