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.
diff --git a/devlib/utils/ssh.py b/devlib/utils/ssh.py
index aaab2dd..27c52d2 100644
--- a/devlib/utils/ssh.py
+++ b/devlib/utils/ssh.py
@@ -444,7 +444,7 @@
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)