From 62ff28935e4a705f94008ec95ddc1538132d8bb0 Mon Sep 17 00:00:00 2001 From: DmitriyVahrushev Date: Wed, 9 Oct 2019 20:25:13 +0300 Subject: [PATCH] sort dvc pipeline list output --- dvc/command/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/command/pipeline.py b/dvc/command/pipeline.py index 2806994797..025de421cf 100644 --- a/dvc/command/pipeline.py +++ b/dvc/command/pipeline.py @@ -167,7 +167,7 @@ def run(self): pipelines = self.repo.pipelines for p in pipelines: stages = networkx.get_node_attributes(p, "stage") - for stage in stages: + for stage in sorted(stages): logger.info(stage) if len(stages) != 0: logger.info("=" * 80)