Skip to content

Commit

Permalink
Merge pull request #609 from efiop/master
Browse files Browse the repository at this point in the history
dvc: cloud: cache_file_key: don't forget to assign to relpath
  • Loading branch information
efiop authored Apr 3, 2018
2 parents c2574ee + 57a0307 commit 7f32d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dvc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
import os

VERSION = '0.9.3'
VERSION = '0.9.4'

if os.getenv('APPVEYOR_REPO_TAG', '').lower() != 'true' and os.getenv('TRAVIS_TAG', '') == '':
# Dynamically update version
Expand Down
2 changes: 1 addition & 1 deletion dvc/cloud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def storage_prefix(self):
def cache_file_key(self, fname):
""" Key of a file within the bucket """
relpath = os.path.relpath(fname, self._cloud_settings.cache.cache_dir)
relpath.replace('\\', '/')
relpath = relpath.replace('\\', '/')
return '{}/{}'.format(self.storage_prefix, relpath).strip('/')

@staticmethod
Expand Down

0 comments on commit 7f32d52

Please sign in to comment.