1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 13:40:48 +00:00

utils/ssh: fix Gem5Connection.pull

Gem5Connection lists the path to be pulled, however it was not stripping
ANSI escape sequences from resulting output, which would corrupt the
path.
This commit is contained in:
Sergei Trofimov 2017-10-06 16:20:33 +01:00
parent 661ba19114
commit 1072a1a9f0

View File

@ -444,7 +444,7 @@ class Gem5Connection(TelnetConnection):
self._check_ready()
result = self._gem5_shell("ls {}".format(source))
files = result.split()
files = strip_bash_colors(result).split()
for filename in files:
dest_file = os.path.basename(filename)