]> git.ipfire.org Git - thirdparty/collectd.git/commit
Fix the return-value check of PyType_Ready 3402/head
authorJia Zhouyang <jiazhouyang@nudt.edu.cn>
Mon, 9 Mar 2020 15:50:21 +0000 (11:50 -0400)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2020 15:50:21 +0000 (11:50 -0400)
commit2825faec1bf40dc599a851d6736a4d5ab2828636
tree30410ad85fb9fe03496e0633d0de182c9226b0f2
parent9f2e5192f64d11d9eb7413005c5f93980871095f
Fix the return-value check of PyType_Ready

Compare the return value of PyType_Ready with -1 directly.
src/python.c