Fix comment in softwaretype about state of falsy parameters.

parent acc83011
...@@ -116,7 +116,7 @@ class Recipe: ...@@ -116,7 +116,7 @@ class Recipe:
for parameter, value in self.parameter_dict.items(): for parameter, value in self.parameter_dict.items():
# All parameters evaluating to False are... False, and shouldn't # All parameters evaluating to False are... False, and shouldn't
# convey any information. # convey any information.
# Here, all those parameters are set to empty string. # Here, all those parameters are simply ignored.
if value: if value:
if isinstance(value, str): if isinstance(value, str):
buildout.set('slap-parameter', parameter, value) buildout.set('slap-parameter', parameter, value)
......
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