Use tuples with str.endswith(), supported since Python 2.5
Merge pull request #32 from vadmium/tuples

Use tuples with str.endswith(), supported since Python 2.5