Commit e9db1601 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Antoine Catton

Use split instead of splitlines.

It makes writing profiles easier.
parent 3d51fe25
......@@ -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