-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* now that we've dropped python2 support, there is no need to use six anymore. following command is used to remove six ``` find . -type f -name "*.py" -exec sed -i -e '/from six.* import/d' -e 's/ print_(/ print(/g' {} + find . -type f -name "ccm" -exec sed -i -e '/from six.* import/d' -e 's/ print_(/ print(/g' {} + ``` * `iteritems(x)` calls are replaced with `x.items()` * itertools.zip_longest() is used instead of the one from six * s/string_types/str/ * import io for `StringIO` * import urllib when urllib is used * README.md: do not mention six anymore. * setup.py, tox.ini: drop six Fixes #432 Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information
Showing
18 changed files
with
168 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.