Files
galaxy/test/functional/tools/code_file.py
T
Nicola Soranzo 21b44bf348 Fix all E201 and E202 style errors
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00

9 lines
297 B
Python

def validate_input(trans, error_map, param_values, page_param_map):
"""
Validates the user input, before execution.
"""
first = param_values['name1']
second = param_values['name2']
if first == second:
error_map['name1'] = "The value names should be different."