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:
Ruslan Kuprieiev
2018-03-20 07:48:20 +02:00
parent a46e4ea647
commit 30ba97fce4
+2 -1
View File
@@ -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