diff options
author | Oz Linden <oz@lindenlab.com> | 2013-11-18 12:12:31 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-11-18 12:12:31 -0500 |
commit | ecb2220afd68e1d13c9af476265d008c2d92354b (patch) | |
tree | bd9ceddc6eb3c85d97f22c4f13fd3e9bec2ec8d6 /indra/lib | |
parent | ebc9bcbf69f7a519677a6522979a6bf6cbb04bb8 (diff) |
add handler for socket.error to fix OPEN-196
Diffstat (limited to 'indra/lib')
-rwxr-xr-x | indra/lib/python/indra/base/lluuid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/lib/python/indra/base/lluuid.py b/indra/lib/python/indra/base/lluuid.py index 369ae4e92f..7413ffe10d 100755 --- a/indra/lib/python/indra/base/lluuid.py +++ b/indra/lib/python/indra/base/lluuid.py @@ -72,7 +72,7 @@ class UUID(object): ip = '' try: ip = socket.gethostbyname(socket.gethostname()) - except(socket.gaierror): + except(socket.gaierror, socket.error): # no ip address, so just default to somewhere in 10.x.x.x ip = '10' for i in range(3): |