Fix tests on pre-1.9 svn.
[jelmer/subvertpy.git] / subvertpy / client.c
index eb7cc7509a7649c5ea3f29f23af74027c7fdce83..2e9911dd59e47ff569b78295a81df8e47d595351 100644 (file)
@@ -1000,6 +1000,8 @@ static PyObject *client_cat(PyObject *self, PyObject *args, PyObject *kwargs)
     }
     RUN_SVN_WITH_POOL(temp_pool, svn_client_cat2(stream, path,
         &c_peg_rev, &c_rev, client->client, temp_pool));
+    ret = Py_None;
+    Py_INCREF(ret);
 #endif
 
     apr_pool_destroy(temp_pool);