Checkout: no warnings when file doesn't exist

This commit is contained in:
Dmitry
2017-11-28 21:56:51 -08:00
parent cd75631403
commit 6a3fad1a4b
+1 -2
View File
@@ -53,8 +53,7 @@ class CmdCheckout(CmdBase):
for item in removed_items_set:
path = item.data.relative
if not os.path.exists(path):
print(u'Remove \'{}\'.'.format(path))
Logger.warn(u'File \'{}\' does not exist'.format(path))
Logger.debug(u'File \'{}\' does not exist'.format(path))
else:
Logger.info(u'Remove \'{}\''.format(path))
os.remove(path)