replace with
```
if try_to_generate:
    version=x
else:
    version=y
paths = robot_find_easyconfig(robot, cand_dep['name'], version, fuzzy=try_to_generate)
```