Skip to content

Commit 7f32d52

Browse files
authored
Merge pull request #609 from efiop/master
dvc: cloud: cache_file_key: don't forget to assign to relpath
2 parents c2574ee + 57a0307 commit 7f32d52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dvc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66
import os
77

8-
VERSION = '0.9.3'
8+
VERSION = '0.9.4'
99

1010
if os.getenv('APPVEYOR_REPO_TAG', '').lower() != 'true' and os.getenv('TRAVIS_TAG', '') == '':
1111
# Dynamically update version

dvc/cloud/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def storage_prefix(self):
7575
def cache_file_key(self, fname):
7676
""" Key of a file within the bucket """
7777
relpath = os.path.relpath(fname, self._cloud_settings.cache.cache_dir)
78-
relpath.replace('\\', '/')
78+
relpath = relpath.replace('\\', '/')
7979
return '{}/{}'.format(self.storage_prefix, relpath).strip('/')
8080

8181
@staticmethod

0 commit comments

Comments
 (0)