Also bring the `f == 30` back up to the outside `if` statement, then you don't need that separate else. Just this:

```python
if version.startswith('29.0') and locale == 'en-US' and f == '30':
    template = 'firefox/australis/firstrun-no-tour.html'
else:
    template = 'firefox/australis/firstrun-tour.html'
```