Use readlines() for StringIO

This commit is contained in:
Bret Palsson 2012-08-13 23:17:52 -06:00
parent dda1524818
commit 579949674c

View File

@ -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