Skip to content

Commit

Permalink
compat: fix py2 mkdirs implementation, bytes do not exist on py2
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Nov 14, 2019
1 parent 303d52e commit ecfbc3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dvc/utils/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def _makedirs(name, mode=0o777, exist_ok=False):
if e.errno != errno.EEXIST:
raise
cdir = os.curdir
if isinstance(tail, bytes):
cdir = bytes(os.curdir, "ASCII")
if tail == cdir:
return
try:
Expand Down

0 comments on commit ecfbc3a

Please sign in to comment.