diff --git a/dvc/stage/exceptions.py b/dvc/stage/exceptions.py index 5528b53dd..3049826c4 100644 --- a/dvc/stage/exceptions.py +++ b/dvc/stage/exceptions.py @@ -107,9 +107,7 @@ class StageNameUnspecified(DvcException): def __init__(self, file): super().__init__( "Stage name not provided." - "Please specify the name as: `{0}:stage_name`".format( - file.relpath - ) + "Please specify the name as: `{0}:stage_name`".format(file.relpath) )