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

[tor-commits] [nyx/master] Duplicate code to mark initial connections



commit c2872765b30d1619edcb9c5b8dcaea3906c8df08
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Sep 19 13:36:33 2015 -0700

    Duplicate code to mark initial connections
    
    The connection tracker already provides this. Silly to do it in the
    constructor, must be left over from before we added it.
---
 nyx/connection_panel.py |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/nyx/connection_panel.py b/nyx/connection_panel.py
index 93c4672..2aaca41 100644
--- a/nyx/connection_panel.py
+++ b/nyx/connection_panel.py
@@ -273,12 +273,6 @@ class ConnectionPanel(panel.Panel, threading.Thread):
 
     self._last_resource_fetch = -1
 
-    # mark the initially exitsing connection uptimes as being estimates
-
-    for entry in self._entries:
-      if isinstance(entry, ConnectionEntry):
-        entry.get_lines()[0].is_initial_connection = True
-
   def set_sort_order(self, ordering = None):
     """
     Sets the connection attributes we're sorting by and resorts the contents.



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