commit | 02ff2d5ee0d687923ab0caf2355f89cae0fa7177 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Jun 03 15:00:21 2008 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Jun 03 15:00:21 2008 +0000 |
tree | 3641c1f0cc50a40f56e0b6087f1c8e800a893c5a | |
parent | 33dbc91bc607995467ae83324e97196e82a012ef [diff] |
Risk: Medium - Hits quite a bit of different areas Visibility: Low utils.py Create a wrapper for urlopen and urlretrieve to enforce a timeout using the socket module and setsockettimeout. - All additional files outside of utils.py are using urllib/urllib2 in one way or another and are being changed to use our wrapper Signed-off-by: Scott Zawalski <scottz@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1590 592f7852-d20e-0410-864c-8624ca9c26a4