Fix bug in former commit.
Clemens BlanK
7 years ago
812 | 812 | # if default value is present in select list, no need to check for whitespaces |
813 | 813 | if is_selection_parameter(param) and param.default in param.restrictions.choices: |
814 | 814 | command += "#if " + actual_parameter + ":\n" |
815 | command += ' %s\n' % param_cli_name | |
815 | command += ' %s %s\n' % (param_cli_name, actual_parameter) | |
816 | 816 | command += "#end if\n" |
817 | 817 | else: |
818 | 818 | command += "#if " + actual_parameter + ":\n" |