maraujop/requests-oauth — pull request #27 by jjmaestro (2012-05-24 10:00:08+00:00)
Title: Refactoring and normalization of boolean statements

The initial structure was:
```
if a:
if b:
print '1'
else:
print '2'
else:
if b:
print '1'
else:
if c:
print '3'
else:
print '4'
```
which can be clearly simplified to
```
if b:
print '1'
elif a:
print '2'
elif c:
print '3'
else:
print '4'
```

Thus, the refactor :) In my opinion, it simplifies the whole conditional flow quite a bit and that's always nice :D