*** urllib2.py Sun Jun 13 23:55:41 2004 --- urllib2.py.new Sun Jun 13 23:55:04 2004 *************** *** 303,312 **** pass lookup = self.handle_error.get(protocol, {}) self.handle_error[protocol] = lookup ! elif condition == "open": kind = protocol lookup = getattr(self, "handle_"+condition) ! elif condition in ["response", "request"]: kind = protocol lookup = getattr(self, "process_"+condition) else: --- 303,314 ---- pass lookup = self.handle_error.get(protocol, {}) self.handle_error[protocol] = lookup ! elif (condition == "open" and ! protocol not in ["do", "proxy"]): kind = protocol lookup = getattr(self, "handle_"+condition) ! elif (condition in ["response", "request"] and ! protocol != "redirect"): kind = protocol lookup = getattr(self, "process_"+condition) else: