ubuntutools/common.py: remove unneeded imports

This commit is contained in:
Michael Bienia 2009-08-07 13:10:22 +02:00
parent 8a29c11904
commit 3e71ff7ab7

View File

@ -24,23 +24,11 @@
# #
# ################################################################## # ##################################################################
import cookielib import os
import glob
import os.path
import re
import subprocess
import sys import sys
import urllib2
import urlparse
import urllib
# Clear https_proxy env var as it's not supported in urllib/urllib2; see # Clear https_proxy env var as it's not supported in urllib/urllib2; see
# LP #122551 # LP #122551
if os.environ.has_key('https_proxy'): if os.environ.has_key('https_proxy'):
print >> sys.stderr, "Ignoring https_proxy (no support in urllib/urllib2; see LP #122551)" print >> sys.stderr, "Ignoring https_proxy (no support in urllib/urllib2; see LP #122551)"
del os.environ['https_proxy'] del os.environ['https_proxy']