[tor-commits] [pytorctl/master] remove ;

mikeperry at torproject.org mikeperry at torproject.org
Thu Sep 1 01:15:57 UTC 2011


commit 4a990f47e5ecd26af4f6459ae6d63ea36dd88f00
Author: aagbsn <aagbsn at extc.org>
Date:   Wed Aug 31 16:24:27 2011 -0700

    remove ;
---
 SQLSupport.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SQLSupport.py b/SQLSupport.py
index 5933707..efee35b 100644
--- a/SQLSupport.py
+++ b/SQLSupport.py
@@ -879,7 +879,8 @@ class CircuitListener(TorCtl.PreEventListener):
           except NoResultFound:
             plog("WARN", "Query for Router %s=%s in circ %s failed but was in parent_handler" %
                     (r.nickname, r.idhex, circ.circ_id))
-            return;
+            tc_session.remove()
+            return
           circ.routers.append(rq) 
           #rq.circuits.append(circ) # done automagically?
           #tc_session.add(rq)





More information about the tor-commits mailing list