Commit c4f4bdad authored by Łukasz Nowak's avatar Łukasz Nowak

Use split instead of splitlines.

It makes writing profiles easier.
parent a3db0f99
......@@ -56,7 +56,7 @@ class Recipe(object):
self.return_parameters = []
if 'return' in options:
self.return_parameters = [str(parameter).strip()
for parameter in options['return'].splitlines()]
for parameter in options['return'].split()]
else:
self.logger.warning("No parameter to return to main instance."
"Be careful about that...")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment