validate: Fix call to decode() on a string

This commit is contained in:
Thibault Saunier 2017-02-17 16:29:15 -03:00
parent 58b3a232b2
commit 9caee62bc6

View file

@ -237,7 +237,7 @@ class Test(Loggable):
self.process.communicate()
else:
pname = subprocess.check_output(("readlink -e /proc/%s/exe"
% self.process.pid).decode().split(' ')).replace('\n', '')
% self.process.pid)).decode().split(' ').replace('\n', '')
input("%sTimeout happened you can attach gdb doing: $gdb %s %d%s\n"
"Press enter to continue" % (Colors.FAIL, pname, self.process.pid,
Colors.ENDC))