dvc: use ' for dynamic output (up to lock)

This commit is contained in:
Jorge Orpinel
2019-12-20 17:48:09 -07:00
parent e1f755bbdd
commit 3574b0c107
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ class CmdRemove(CmdBase):
if self.args.force:
return False
msg = "Are you sure you want to remove {} with its outputs?".format(
msg = "Are you sure you want to remove '{}' with its outputs?".format(
target
)
@@ -38,7 +38,7 @@ class CmdRemove(CmdBase):
outs_only = self._is_outs_only(target)
self.repo.remove(target, outs_only=outs_only)
except DvcException:
logger.exception("failed to remove {}".format(target))
logger.exception("failed to remove '{}'".format(target))
return 1
return 0
+1 -1
View File
@@ -81,7 +81,7 @@ def Choices(*choices):
*choices: pass allowed values as arguments, or pass a list or
tuple as a single argument
"""
return Any(*choices, msg="expected one of {}".format(",".join(choices)))
return Any(*choices, msg="expected one of {}".format(", ".join(choices)))
class Config(object): # pylint: disable=too-many-instance-attributes