summaryrefslogtreecommitdiff
path: root/tests/unittests/test__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-13 10:43:40 -0400
committerScott Moser <smoser@ubuntu.com>2013-03-13 10:43:40 -0400
commitae0f94c8f39a234d73ab8e2caf24d73439c8b5ee (patch)
tree1e22394262bff28204d984607536c3582d30e00a /tests/unittests/test__init__.py
parentfd938d20c62320c9068a9f517ccc465f561e7499 (diff)
downloadvyos-cloud-init-ae0f94c8f39a234d73ab8e2caf24d73439c8b5ee.tar.gz
vyos-cloud-init-ae0f94c8f39a234d73ab8e2caf24d73439c8b5ee.zip
fix / workaround potential for socket.getaddrinfo to raise socket.error
As reported in bug 1154599, I'm seeing this on my desktop system: $ python -c \ 'from cloudinit import util; print util.is_resolvable("brickies.neiit")' Traceback (most recent call last): File "<string>", line 1, in <module> File "cloudinit/util.py", line 865, in is_resolvable socket.SOCK_STREAM, socket.AI_CANONNAME) LP: #1154599
Diffstat (limited to 'tests/unittests/test__init__.py')
0 files changed, 0 insertions, 0 deletions