]> arthur.barton.de Git - bup.git/commit
_helpers: remove empty PyArg_ParseTuple() from METH_NOARGS
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 24 Jan 2021 20:24:03 +0000 (21:24 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 18 Apr 2021 17:29:50 +0000 (12:29 -0500)
commit8780ec20260f4547becfa96f4a69b6baf7c3859a
tree18cdc6b2f0e9d62faacbe2432a805e5567971a32
parenta624c55c57c075cc83a35a575fd64fdef345c1f7
_helpers: remove empty PyArg_ParseTuple() from METH_NOARGS

With METH_NOARGS, args is NULL, and thus PyArg_ParseTuple()
will segfault. Remove it, since it's unnecessary anyway.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c