unpack key-value pair

This commit is contained in:
Joffrey F 2015-08-04 11:31:18 -07:00
parent 69027f040c
commit 20a7e860b4
1 changed files with 1 additions and 2 deletions

View File

@ -533,8 +533,7 @@ def parse_env_file(env_file):
parse_line = line.strip().split('=')
if len(parse_line) == 2:
k = parse_line[0]
v = parse_line[1]
k, v = parse_line
environment[k] = v
else:
raise errors.DockerException(