From 4759517c8d9f3741b9d83335891f22e4c1f411bc Mon Sep 17 00:00:00 2001 From: Sarthak khandelwal Date: Thu, 6 Aug 2020 20:18:09 +0530 Subject: [PATCH] repro: update status message for dvc-added files (#4317) * stage/__init__.py: Updated output for dvc repro * Delete config.ini Co-authored-by: Ruslan Kuprieiev --- dvc/stage/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dvc/stage/__init__.py b/dvc/stage/__init__.py index 0048c94fb9..61f9c11914 100644 --- a/dvc/stage/__init__.py +++ b/dvc/stage/__init__.py @@ -306,7 +306,12 @@ def remove(self, force=False, remove_outs=True, purge=True): @rwlocked(read=["deps"], write=["outs"]) def reproduce(self, interactive=False, **kwargs): if not (kwargs.get("force", False) or self.changed()): - logger.info("Stage '%s' didn't change, skipping", self.addressing) + if not isinstance(self, PipelineStage) and self.is_data_source: + logger.info("'%s' didn't change, skipping", self.addressing) + else: + logger.info( + "Stage '%s' didn't change, skipping", self.addressing + ) return None msg = (