diff --git a/dvc/main.py b/dvc/main.py index 0c83ddab3..0e8539be8 100644 --- a/dvc/main.py +++ b/dvc/main.py @@ -15,6 +15,12 @@ from dvc.remote.pool import close_pools from dvc.utils.compat import is_py2 +# Workaround for CPython bug. See [1] and [2] for more info. +# [1] https://github.com/aws/aws-cli/blob/1.16.277/awscli/clidriver.py#L55 +# [2] https://bugs.python.org/issue29288 +u''.encode('idna') + + logger = logging.getLogger("dvc")