mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvmdbustest.py: Remove use of root_dir in glob
This feature has only been in python since 10/2021.
This commit is contained in:
parent
1857eb9fe0
commit
e3b7395af4
@ -258,9 +258,9 @@ def remove_lvm_debug():
|
||||
# If we are running the lvmdbusd daemon and collecting lvm debug data, check and
|
||||
# clean-up after the tests.
|
||||
tmpdir = tempfile.gettempdir()
|
||||
for f in glob("lvmdbusd.lvm.debug.*.log", root_dir=tmpdir):
|
||||
fn = os.path.join(tmpdir, f)
|
||||
os.unlink(fn)
|
||||
fp = os.path.join(tmpdir, "lvmdbusd.lvm.debug.*.log")
|
||||
for f in glob(fp):
|
||||
os.unlink(f)
|
||||
|
||||
|
||||
class DaemonInfo(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user