Bugfix: create a cache dir for freshly checkout-ed repo

This commit is contained in:
Dmitry
2018-01-09 18:23:28 -08:00
parent b752c600f1
commit 5f46f05992
+2
View File
@@ -8,6 +8,8 @@ class Cache(object):
def __init__(self, dvc_dir):
self.cache_dir = os.path.abspath(os.path.realpath(os.path.join(dvc_dir, self.CACHE_DIR)))
if not os.path.exists(self.cache_dir):
os.mkdir(self.cache_dir)
@staticmethod
def init(dvc_dir):