From f24339f6f7b6458e059a8a2bc8b805e40c1fb359 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 30 Oct 2001 14:16:17 +0000 Subject: /F observes that we need an else: in connect() --- Lib/asyncore.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 684e5d2..5740fe1 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -308,7 +308,8 @@ class dispatcher: self.addr = address self.connected = 1 self.handle_connect() - raise socket.error, err + else: + raise socket.error, err def accept (self): try: -- cgit v0.12