From be1d69618851a5e9c541cce45a1fd0e03dbba517 Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Wed, 3 Jul 2019 14:43:31 +0700 Subject: [PATCH] dvc: fix prompt message while collecting used cache --- dvc/output/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/output/base.py b/dvc/output/base.py index 1927d1b1f..65439e83b 100644 --- a/dvc/output/base.py +++ b/dvc/output/base.py @@ -370,7 +370,7 @@ class OutputBase(object): "Cache for files inside will be lost. " "Would you like to continue? Use '-f' to force." ) - if not force and not prompt.confirm(msg): + if not force and not prompt.confirm(msg.format(self.path_info)): raise DvcException( "unable to fully collect used cache" " without cache for directory '{}'".format(self)