Docker client occasionally returns a NoneType, so we have to catch the TypeError

pull/7280/head
Paul Durivage 11 years ago
parent fd03cc04e6
commit b9f7da7b44

@ -299,7 +299,7 @@ def list_groups():
try:
port = client.port(container, ssh_port)[0]
except (IndexError, AttributeError):
except (IndexError, AttributeError, TypeError):
port = dict()
try:

Loading…
Cancel
Save