I'd rather write this like:

``` python

if not request.accept.best_match(
                ['application/xhtml+xml', 'text/html']):
```
since normally you don't come back to the same indent level as "if" until you get to the end of the if block.