This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A new way to decide if the type is string instead of by isinstance
py3 doesn't support basestring, so we need a new way to decide if the type of an object is string. The module 'six' could help us: isinstance(var, six.string_types). Reference: amnong/easywebdav#26 Change-Id: I79266a3c5612d3b7cbe7c94d71d8f5a6aa7c03ab
- Loading branch information