[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Make unreachable code reachable..



Update of /home/or/cvsroot/control/python
In directory moria:/tmp/cvs-serv5049

Modified Files:
	TorCtl1.py 
Log Message:
Make unreachable code reachable..

Index: TorCtl1.py
===================================================================
RCS file: /home/or/cvsroot/control/python/TorCtl1.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- TorCtl1.py	17 Nov 2005 18:30:34 -0000	1.18
+++ TorCtl1.py	17 Nov 2005 21:00:57 -0000	1.19
@@ -186,9 +186,10 @@
                         if cb != "CLOSE":
                             cb("EXCEPTION")
                     except Queue.Empty:
-                        return
+                        break
                 if self._closeHandler is not None:
                     self._closeHandler(ex)
+                return
 
             assert lines
             if lines[0][0][0] == "6":