]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: libcgroup.pyx - remove non-Python constructs
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 10 Jul 2023 04:44:52 +0000 (10:14 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Jul 2023 18:57:31 +0000 (12:57 -0600)
commitb426e9046c28c828646ce486588764620a4ed4b3
tree897562e754c2cb924fd5744faf28e10873136f29
parent2a8983244feb1c089478bef347bdd27e1c1cc5db
python: libcgroup.pyx - remove non-Python constructs

Fix few cython-lints non-Python constructs, reported by cython-lint
tool:
- libcgroup.pyx:222:26: E711 comparison to None should be 'if cond is None:'
- libcgroup.pyx:380:82: E703 statement ends with a semicolon

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/python/libcgroup.pyx