AdrianGaudebert/socorro — comment on commit 2bf93ef430d4110243060c90dfccd0b124dad968
File: socorro/external/postgresql/search.py line 72
By peterbe:

You only extremely rarely need to use ``xrange()`` over simple ``range()``.
In fact, a much more pythonic way to do this would be to use ``enumerate()``

```python
for i, item in enumerate(params['os']):
if item == 'Frank':
params['os'][i] = 'Frank Zappa'
```