issue #482: another Py3 fix

This commit is contained in:
David Wilson 2019-08-09 22:45:00 +01:00
parent 1cad04185b
commit 8bac1cf368
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class DockerizedSshDaemon(object):
def check_processes(self):
args = ['docker', 'exec', self.container_name, 'ps', '-o', 'comm=']
counts = {}
for comm in subprocess__check_output(args).splitlines():
for comm in subprocess__check_output(args).decode().splitlines():
comm = comm.strip()
counts[comm] = counts.get(comm, 0) + 1