What this function does appears to disagree with what its docstring says.  If it mandates a `KEY=VALUE` format for its inputs then this method should additionally raise a ValueError when that is not the case.  For instance,

```python
raise ValueError('"{0}" must have format KEY=VALUE'.format(param_str))
```