python: Fix test stuff
This commit is contained in:
parent
e90fc58732
commit
c6f4f09967
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user