]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: Add method to clear the default slice/scope
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 25 May 2023 02:35:35 +0000 (20:35 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 3 Jul 2023 14:50:48 +0000 (08:50 -0600)
commit8134c2ecd3351cfa035b9196c338a1832aceeef7
treecb74403807d22351c56ad21989f4a25c9aaab60c
parent49032fc2895f3b7b772054eb222cda8f4f9d29bf
python: Add method to clear the default slice/scope

Add a convenience method to clear the default slice/scope.  This may be
useful in cases where the user is done with the slice/scope and wants to
resume operating at the root cgroup level.

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