dvc: Fix typo in check_can_commit message (#2577)

This commit is contained in:
Vasilis Gerakaris
2019-10-05 14:42:26 +03:00
committed by Ruslan Kuprieiev
parent 449f43f3cc
commit 8c1addff91
+2 -3
View File
@@ -731,9 +731,8 @@ class Stage(object):
msg += " and " if (changed_deps and changed_outs) else ""
msg += "outputs {}".format(changed_outs) if changed_outs else ""
msg += "md5" if not (changed_deps or changed_outs) else ""
msg += " of '{}' changed. Are you sure you commit it?".format(
self.relpath
)
msg += " of '{}' changed.".format(self.relpath)
msg += "Are you sure you want to commit it?"
if not force and not prompt.confirm(msg):
raise StageCommitError(
"unable to commit changed '{}'. Use `-f|--force` to "