Allow "=" in k-v values.

This commit is contained in:
Matt Goodall 2012-05-23 00:58:05 +01:00
commit 639763c138
2 changed files with 8 additions and 1 deletions

View file

@ -295,7 +295,7 @@ def parse_kv(args):
vargs = shlex.split(args, posix=True)
for x in vargs:
if x.find("=") != -1:
k, v = x.split("=")
k, v = x.split("=", 1)
options[k]=v
return options