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
diff --git a/server/rpm_kernel.py b/server/rpm_kernel.py
index 0039496..adaf180 100644
--- a/server/rpm_kernel.py
+++ b/server/rpm_kernel.py
@@ -14,8 +14,7 @@
 stutsman@google.com (Ryan Stutsman)"""
 
 
-import os, os.path, time, urllib
-
+import os, time
 from autotest_lib.client.common_lib import error
 from autotest_lib.server import kernel, utils