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

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



commit 4a990f47e5ecd26af4f6459ae6d63ea36dd88f00
Author: aagbsn <aagbsn@xxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits