fix, use:

```python
_log.deprecated("oldstyle key %s usage found, replacing with newkey %s" % (key, newkey), "2.0")
```