diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-30 14:16:17 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-30 14:16:17 (GMT) |
commit | f24339f6f7b6458e059a8a2bc8b805e40c1fb359 (patch) | |
tree | d2dcb1603a926d1db0f35c3e7fcd1575b26d1c37 | |
parent | fc6a89270e794ea11637c2d5a53e6b84f869642f (diff) | |
download | cpython-f24339f6f7b6458e059a8a2bc8b805e40c1fb359.zip cpython-f24339f6f7b6458e059a8a2bc8b805e40c1fb359.tar.gz cpython-f24339f6f7b6458e059a8a2bc8b805e40c1fb359.tar.bz2 |
/F observes that we need an else: in connect()
-rw-r--r-- | Lib/asyncore.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |