mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
cli: utils: DictAction: limit split to 2 elements (#9887)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ class DictAction(argparse.Action):
|
||||
kvs = [values]
|
||||
|
||||
for kv in kvs:
|
||||
key, value = kv.split("=")
|
||||
key, value = kv.split("=", 1)
|
||||
if not value:
|
||||
raise argparse.ArgumentError(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user