Skip to content

Commit

Permalink
cli: utils: DictAction: limit split to 2 elements (#9887)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Aug 30, 2023
1 parent 8bfe8e3 commit 7a9da0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a9da0f

Please sign in to comment.