Skip to content

Commit

Permalink
use os.path in local
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla committed Apr 27, 2020
1 parent 8487213 commit c4863b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dvc/remote/local.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import errno
import logging
import os
import posixpath
import stat
from concurrent.futures import as_completed, ThreadPoolExecutor
from functools import partial
Expand Down Expand Up @@ -233,7 +232,7 @@ def cache_exists(self, checksums, jobs=None, name=None):
base_path = str(self.path_info)

def checksum_to_path(checksum):
return posixpath.join(base_path, checksum[0:2], checksum[2:])
return os.path.join(base_path, checksum[0:2], checksum[2:])

return [
checksum
Expand Down

0 comments on commit c4863b1

Please sign in to comment.