Skip to content

Commit 3574b0c

Browse files
committed
dvc: use ' for dynamic output (up to lock)
1 parent e1f755b commit 3574b0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dvc/command/remove.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _is_outs_only(self, target):
2020
if self.args.force:
2121
return False
2222

23-
msg = "Are you sure you want to remove {} with its outputs?".format(
23+
msg = "Are you sure you want to remove '{}' with its outputs?".format(
2424
target
2525
)
2626

@@ -38,7 +38,7 @@ def run(self):
3838
outs_only = self._is_outs_only(target)
3939
self.repo.remove(target, outs_only=outs_only)
4040
except DvcException:
41-
logger.exception("failed to remove {}".format(target))
41+
logger.exception("failed to remove '{}'".format(target))
4242
return 1
4343
return 0
4444

dvc/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def Choices(*choices):
8181
*choices: pass allowed values as arguments, or pass a list or
8282
tuple as a single argument
8383
"""
84-
return Any(*choices, msg="expected one of {}".format(",".join(choices)))
84+
return Any(*choices, msg="expected one of {}".format(", ".join(choices)))
8585

8686

8787
class Config(object): # pylint: disable=too-many-instance-attributes

0 commit comments

Comments
 (0)