diff --git a/dvc/analytics.py b/dvc/analytics.py index 1ae02f60ac..a8969b2ef3 100644 --- a/dvc/analytics.py +++ b/dvc/analytics.py @@ -164,4 +164,6 @@ def _find_or_create_user_id(): return user_id except LockError: - logger.debug("Failed to acquire {lockfile}".format(lockfile=lockfile)) + logger.debug( + "Failed to acquire '{lockfile}'".format(lockfile=lockfile) + ) diff --git a/dvc/command/diff.py b/dvc/command/diff.py index 180508896c..4e82ea520f 100644 --- a/dvc/command/diff.py +++ b/dvc/command/diff.py @@ -31,7 +31,7 @@ def _print_size(size): def _get_md5_string(sign, file_name, checksum): sample_msg = "" if file_name: - sample_msg = "{}{} with md5 {}\n" + sample_msg = "'{}{}' with md5 {}\n" sample_msg = sample_msg.format(sign, file_name, checksum) return sample_msg diff --git a/dvc/command/imp_url.py b/dvc/command/imp_url.py index e072bc1e34..9c325dbe37 100644 --- a/dvc/command/imp_url.py +++ b/dvc/command/imp_url.py @@ -19,7 +19,7 @@ def run(self): ) except DvcException: logger.exception( - "failed to import {}. You could also try downloading " + "failed to import '{}'. You could also try downloading " "it manually, and adding it with `dvc add`.".format( self.args.url )