From 6a3fad1a4bbbaed3bce83951025883a117045b16 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 28 Nov 2017 21:56:51 -0800 Subject: [PATCH] Checkout: no warnings when file doesn't exist --- dvc/command/checkout.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dvc/command/checkout.py b/dvc/command/checkout.py index fac80661e..9796c35fa 100644 --- a/dvc/command/checkout.py +++ b/dvc/command/checkout.py @@ -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)