Skip to content

Commit d90fe77

Browse files
authored
Merge branch 'main' into rongxin-patch-1
2 parents 3444f21 + 91551b3 commit d90fe77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli50/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def main():
115115
else:
116116
containers = []
117117
for line in stdout.rstrip().splitlines():
118-
ID, Image, RunningFor, Status, *Mounts = line.split("\t")
118+
ID, Image, RunningFor, Status, *Mounts = line.rstrip().split("\t")
119119
Mounts = Mounts[0].split(",") if Mounts else []
120120
Mounts = [re.sub(r"^/host_mnt", "", Mount) for Mount in Mounts if not re.match(r"^[0-9a-fA-F]{64}$", Mount)] # Ignore hashes
121121
containers.append((ID, Image, RunningFor.lower(), Status.lower(), Mounts))

0 commit comments

Comments
 (0)