Merge "Fix command parsing on legacy api version" into stable/stein
This commit is contained in:
@@ -203,6 +203,8 @@ def list_availability_zones(zones):
|
|||||||
def parse_command(command):
|
def parse_command(command):
|
||||||
output = []
|
output = []
|
||||||
if command:
|
if command:
|
||||||
|
if isinstance(command, six.string_types):
|
||||||
|
command = [command]
|
||||||
for c in command:
|
for c in command:
|
||||||
c = '"' + c + '"'
|
c = '"' + c + '"'
|
||||||
output.append(c)
|
output.append(c)
|
||||||
|
|||||||
Reference in New Issue
Block a user