Skip to content

Commit 2838e97

Browse files
authored
Merge pull request #947 from bgurney-rh/uevent-nostrict
send_uevent: remove strict parameter
2 parents d592a89 + 5c99739 commit 2838e97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stratis_cli/_actions/_debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def send_uevent(namespace):
4848
Issue a synthetic uevent from the CLI.
4949
"""
5050
try:
51-
realdevice = os.path.realpath(namespace.device, strict=True)
51+
realdevice = os.path.realpath(namespace.device)
5252
sysfs_device_uevent = (
5353
realdevice.replace("/dev/", "/sys/class/block/") + "/uevent"
5454
) # pragma: no cover

0 commit comments

Comments
 (0)