mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
checkout: don't print 'cache not found' if cache is None
Fixes #579 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+2
-1
@@ -287,7 +287,8 @@ class Output(Dependency):
|
||||
return
|
||||
|
||||
if not self.cache or not os.path.exists(self.cache):
|
||||
self.project.logger.warn(u'\'{}\': cache file not found'.format(self.rel_path))
|
||||
if self.cache:
|
||||
self.project.logger.warn(u'\'{}({})\': cache file not found'.format(self.rel_cache, self.rel_path))
|
||||
self.remove()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user