Reworked utils urlopen, urlretrieve and get_file to remove code
duplication and get rid of urllib (and instead use urllib2 which
will error on 404 replies from servers). This slightly changes the API
by removing some default arguments but it doesn't seem that there was
any user (other than the unittest which has been updated) for those
removed arguments.
Signed-off-by: Mihai Rusu <dizzy@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3395 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed