Allow volumes_from to be an iterable

This commit is contained in:
Damon Jablons 2014-04-01 15:20:13 -04:00
parent 445bcef386
commit d3d594d0b6
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ class Client(requests.Session):
volumes_dict[vol] = {}
volumes = volumes_dict
if not isinstance(volumes_from, six.string_types):
volumes_from = ','.join(volumes_from)
attach_stdin = False
attach_stdout = False
attach_stderr = False