Output arrays of files rather than a single file

This is needed because the version upgrade system now allows for a version upgrader to output any number of files.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-08-09 11:52:39 +02:00
parent 967591bccb
commit af86375ba3
No known key found for this signature in database
GPG key ID: 701948C5954A7385
3 changed files with 3 additions and 3 deletions

View file

@ -97,4 +97,4 @@ class MachineInstance:
output = io.StringIO()
config.write(output)
return self._filename, output.getvalue()
return [self._filename], [output.getvalue()]

View file

@ -77,4 +77,4 @@ class Preferences:
#Output the result as a string.
output = io.StringIO()
self._config.write(output)
return self._filename, output.getvalue()
return [self._filename], [output.getvalue()]

View file

@ -130,4 +130,4 @@ class Profile:
output = io.StringIO()
config.write(output)
return self._filename, output.getvalue()
return [self._filename], [output.getvalue()]