Merge "Fix command parsing on legacy api version" into stable/stein

This commit is contained in:
Zuul
2019-04-23 06:40:37 +00:00
committed by Gerrit Code Review

View File

@@ -203,6 +203,8 @@ def list_availability_zones(zones):
def parse_command(command):
output = []
if command:
if isinstance(command, six.string_types):
command = [command]
for c in command:
c = '"' + c + '"'
output.append(c)