fixup
This commit is contained in:
parent
f3e320f6cf
commit
30f8c29fc4
@ -40,8 +40,8 @@ def with_device(pth):
|
||||
finally:
|
||||
subprocess.run(['losetup', '-d', dev])
|
||||
elif pth.is_block_device():
|
||||
subprocess.run(['partprobe', dev])
|
||||
yield dev
|
||||
subprocess.run(['partprobe', pth])
|
||||
yield pth
|
||||
|
||||
def ci_lookup(base, *comps, creating=False, parents=False):
|
||||
"""Lookup path components case-insensitively"""
|
||||
|
Loading…
Reference in New Issue
Block a user