mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 23:11:44 +01:00
Merge pull request #2762 from iterative/efiop-patch-1-restyled
Restyle dvc: add workaround for `LookupError: unknown encoding: idna`
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ 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')
|
||||
"".encode("idna")
|
||||
|
||||
|
||||
logger = logging.getLogger("dvc")
|
||||
|
||||
Reference in New Issue
Block a user