Replace type() comparisons with isinstance() #800

Merged
merged 1 commit into from Jun 10, 2012

Conversation

Projects
None yet
2 participants
Contributor

gholms commented Jun 8, 2012

Several places in the code compare type(something) against a type rather than using isinstance(something, some_type). This commit replaces the former with the latter to make things consistent.

garnaat added a commit that referenced this pull request Jun 10, 2012

Merge pull request #800 from gholms/isinstance
Replace type() comparisons with isinstance()

@garnaat garnaat merged commit e867091 into boto:develop Jun 10, 2012

msabramo pushed a commit to msabramo/boto that referenced this pull request Nov 28, 2012

Merge pull request #800 from gholms/isinstance
Replace type() comparisons with isinstance()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment