mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Use readlines() for StringIO
This commit is contained in:
parent
dda1524818
commit
579949674c
@ -689,7 +689,7 @@ def _write_file_network(data, filename):
|
||||
def _read_temp(data):
|
||||
tout = StringIO.StringIO()
|
||||
tout.write(data)
|
||||
output = tout.getvalue()
|
||||
output = tout.readlines()
|
||||
tout.close()
|
||||
return output
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user