From 432373fb42c7b2430cc2fc20b70d3dee67a4aaa7 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 18 Jul 2019 16:10:38 +0300 Subject: [PATCH] stage: properly quote command in exception --- dvc/stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/stage.py b/dvc/stage.py index 071359d46..0ec0f9f8a 100644 --- a/dvc/stage.py +++ b/dvc/stage.py @@ -29,7 +29,7 @@ logger = logging.getLogger(__name__) class StageCmdFailedError(DvcException): def __init__(self, stage): - msg = "stage '{}' cmd {} failed".format(stage.relpath, stage.cmd) + msg = "stage '{}' cmd '{}' failed".format(stage.relpath, stage.cmd) super(StageCmdFailedError, self).__init__(msg)