Commit b9f7da7b by Paul Durivage

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

parent fd03cc04
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment