General recipe cleanup

- No need of so much debug
- remove dead code
- Indent
parent 3aafe1c2
......@@ -101,7 +101,6 @@ class Recipe(object):
options['computer-id'], options['partition-id']).request
return_parameters = []
self.return_parameters = []
if 'return' in options:
return_parameters = [str(parameter).strip()
for parameter in options['return'].split()]
......@@ -121,10 +120,6 @@ class Recipe(object):
for config_parameter in options['config'].split():
partition_parameter_kw[config_parameter] = \
options['config-%s' % config_parameter]
print 'from : %s \n' % options['partition-id']
print 'requested %s (%s), parameters : %s \n\n' % (options['name'],
software_type,
partition_parameter_kw)
isSlave = options.get('slave', '').lower() in \
librecipe.GenericBaseRecipe.TRUE_VALUES
......
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