diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-18 22:38:24 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-18 22:38:24 (GMT) |
commit | c80902eac8cc71c4a6eb64d65a07c78d1825a94e (patch) | |
tree | a7847311a4052f4fcb357e2a45e747df59cd439d /Lib/urllib | |
parent | cb0d2d71983a336741a926742232cd810068e43d (diff) | |
download | cpython-c80902eac8cc71c4a6eb64d65a07c78d1825a94e.zip cpython-c80902eac8cc71c4a6eb64d65a07c78d1825a94e.tar.gz cpython-c80902eac8cc71c4a6eb64d65a07c78d1825a94e.tar.bz2 |
follow-up of r64385: rename urllib.quote in nturl2path
and remove assertions & debugger when ssl is not present
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index cd4729a..da13147 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -105,7 +105,6 @@ except: _have_ssl = False else: _have_ssl = True -assert _have_ssl # used in User-Agent header sent __version__ = sys.version[:3] @@ -417,8 +416,6 @@ def build_opener(*handlers): FTPHandler, FileHandler, HTTPErrorProcessor] if hasattr(http.client, "HTTPSConnection"): default_classes.append(HTTPSHandler) - else: - import pdb; pdb.set_trace() skip = set() for klass in default_classes: for check in handlers: |