Merge pull request #824 from efiop/master

checkout: print better msg when cache is missing
This commit is contained in:
Ruslan Kuprieiev
2018-06-29 01:14:42 +03:00
committed by GitHub
+2 -2
View File
@@ -158,8 +158,8 @@ class RemoteLOCAL(RemoteBase):
if not cache or not os.path.exists(cache) or self.changed(md5):
if cache:
Logger.warn(u'\'{}({})\': cache file not found'.format(os.path.relpath(cache),
os.path.relpath(path)))
msg = u'Cache \'{}\' not found. File \'{}\' won\'t be created.'
Logger.warn(msg.format(md5, os.path.relpath(path)))
remove(path)
return