Fixed some lack of pythonic style
Merge pull request #1 from strider/master

Fixed some lack of pythonic style