checkout: print better msg when cache is missing

Fixes #410

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-06-29 01:08:42 +03:00
parent a62ffb5518
commit da832399aa
+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