summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-07-19 23:17:27 -0400
committerScott Moser <smoser@ubuntu.com>2011-07-19 23:17:27 -0400
commitbe623b70dbc7c591f14baa9314105e78bbe0f63f (patch)
treea77e2fb8fd8e8216490fee36fd9d6924a6559e2d /setup.py
parent6d25c040ee566f6ef85352d7b52eb5947230f78a (diff)
downloadvyos-cloud-init-be623b70dbc7c591f14baa9314105e78bbe0f63f.tar.gz
vyos-cloud-init-be623b70dbc7c591f14baa9314105e78bbe0f63f.zip
increase timeout on read_seed when a seedfrom was explicitly given
In the case where a seedfrom value was given on the command line or in the config file, we were timing out in 2 seconds on the connection. That timeout was put in place to support "probing" for sources, but seedfrom is explictly given. So, in that case, do a urllib.open without a timeout value. Looking at source code, default timeout is 'socket._GLOBAL_DEFAULT_TIMEOUT', but rather than importing that and using it, I will call without a timeout value. LP: #812646
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions