From c80902eac8cc71c4a6eb64d65a07c78d1825a94e Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Wed, 18 Jun 2008 22:38:24 +0000 Subject: follow-up of r64385: rename urllib.quote in nturl2path and remove assertions & debugger when ssl is not present --- Lib/urllib/request.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Lib/urllib/request.py') diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index cd4729a95e..da1314786b 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: -- cgit v1.2.1