diff --git a/src/stratis_cli/_actions/_report_pool.py b/src/stratis_cli/_actions/_report_pool.py index 0fed1ec4e..d285818ba 100644 --- a/src/stratis_cli/_actions/_report_pool.py +++ b/src/stratis_cli/_actions/_report_pool.py @@ -139,6 +139,4 @@ def report_pool(self): # Ignore bandit B603 errors. Input comes from D-Bus and has # been processed. blkdevs = [dev.devnode for dev in stopped_pool.devs] - for dev in stopped_pool.devs: - print(dev.devnode) - subprocess.run(["/usr/bin/lsblk", "-i"] + blkdevs, check=True) # nosec B603 + subprocess.run(["/usr/bin/lsblk", "-i"] + blkdevs, check=True) # nosec B603