Use True in a few more places.
Use isinstance(somestring, basestring) instead of type() as per PEP 8
2 files changed