python: Fix test stuff
This commit is contained in:
@@ -157,11 +157,9 @@ wmfs_spawn(PyObject *self, PyObject *args)
|
|||||||
{
|
{
|
||||||
char *arg, *sh;
|
char *arg, *sh;
|
||||||
|
|
||||||
int t,tt,st;
|
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
|
|
||||||
if(!PyArg_ParseTuple(args, "(i|i)s", &t, &tt, &st, &arg))
|
if(!PyArg_ParseTuple(args, "s", &arg))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if(!(sh = getenv("SHELL")))
|
if(!(sh = getenv("SHELL")))
|
||||||
@@ -179,8 +177,6 @@ wmfs_spawn(PyObject *self, PyObject *args)
|
|||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("t: %d, tt: %d, st %d\n",t, tt, st);
|
|
||||||
|
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user