debian/rules: Build using the provided Makefile.
[catacomb-python] / rand.c
diff --git a/rand.c b/rand.c
index 5a323b0..1203f76 100644 (file)
--- a/rand.c
+++ b/rand.c
@@ -506,7 +506,7 @@ static PyObject *truerand_pynew(PyTypeObject *ty,
   char *kwlist[] = { 0 };
   grand *r;
   PyObject *rc = 0;
-  if (PyArg_ParseTupleAndKeywords(arg, kw, ":new", kwlist)) goto end;
+  if (!PyArg_ParseTupleAndKeywords(arg, kw, ":new", kwlist)) goto end;
   r = rand_create();
   r->ops->misc(r, RAND_NOISESRC, &noise_source);
   r->ops->misc(r, RAND_SEED, 160);