Trivial changes

There's no need for an else: pass. And functions that don't return automatically return None.

Note that I have not tried running this code. It's always possible I made a mistake.
Merge pull request #1 from Sgeo/patch-1

Trivial changes