From 7a9da0f4a1d2790f2dcfd2774854b6ab2a10cd97 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 30 Aug 2023 03:15:21 +0300 Subject: [PATCH] cli: utils: DictAction: limit split to 2 elements (#9887) --- dvc/cli/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/cli/utils.py b/dvc/cli/utils.py index 1dfd835365..35fee4e767 100644 --- a/dvc/cli/utils.py +++ b/dvc/cli/utils.py @@ -11,7 +11,7 @@ def __call__(self, parser, args, values, option_string=None): # noqa: ARG002 kvs = [values] for kv in kvs: - key, value = kv.split("=") + key, value = kv.split("=", 1) if not value: raise argparse.ArgumentError( self,