From 6f0dcf617f04c0de08856bad5fc89dc59ee5991e Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 3 Apr 2018 21:12:37 +0300 Subject: [PATCH 1/2] dvc: cloud: cache_file_key: don't forget to assign to relpath Fixes #608 Signed-off-by: Ruslan Kuprieiev --- dvc/cloud/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/cloud/base.py b/dvc/cloud/base.py index 9e983753d6..3a23a23e69 100644 --- a/dvc/cloud/base.py +++ b/dvc/cloud/base.py @@ -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 From 57a03072ac49985884d9027fc325da845190c145 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 3 Apr 2018 21:23:31 +0300 Subject: [PATCH 2/2] dvc: bump to 0.9.4 Signed-off-by: Ruslan Kuprieiev --- dvc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/__init__.py b/dvc/__init__.py index 72769e611a..7288e58f9c 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -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