mirror of
https://github.com/apache/cloudstack
synced 2026-08-29 00:38:51 +00:00
Merge branch '4.9'
This commit is contained in:
commit
3c2e8b9294
@ -107,10 +107,10 @@ def main():
|
||||
apiMap = {}
|
||||
with open(options.commandsfile) as f:
|
||||
for line in f.readlines():
|
||||
if not line or line == '' or line == '\n' or line.startswith('#'):
|
||||
if not line or line == '' or line == '\n' or line == '\r\n' or line.startswith('#'):
|
||||
continue
|
||||
name, value = line.split('=')
|
||||
apiMap[name.strip()] = value.strip()
|
||||
apiMap[name.strip()] = value.strip().split(';')[-1]
|
||||
|
||||
# Rename and deprecate old commands.properties file
|
||||
if not dryrun:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user