These two lines can be re-written as:
```python
versions.extend([x.lower() for x in nighlies_only if rel_release == x])
```