Update __init__.py (#2593)

found an issue when doing `dvc cache dir`. Should end with os separator
This commit is contained in:
jahabdank
2019-10-10 14:39:01 +03:00
committed by Ruslan Kuprieiev
parent 711dc2ea9a
commit 69195fdbfd
+1 -1
View File
@@ -164,7 +164,7 @@ class Repo(object):
+ updater.lock.files
)
if self.cache.local.cache_dir.startswith(self.root_dir):
if self.cache.local.cache_dir.startswith(self.root_dir + os.sep):
flist += [self.cache.local.cache_dir]
self.scm.ignore_list(flist)