mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Decode test names in names-file
This commit is contained in:
parent
6035ff1459
commit
8eefbe8111
@ -306,7 +306,7 @@ class SaltTestingParser(optparse.OptionParser):
|
||||
with open(self.options.names_file, 'rb') as fp_:
|
||||
lines = []
|
||||
for line in fp_.readlines():
|
||||
lines.append(line.strip())
|
||||
lines.append(line.strip().decode())
|
||||
if self.options.name:
|
||||
self.options.name.extend(lines)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user