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

[tor-commits] [arm/master] fix: dropping nonexistent ORCONN attributes



commit eb4d0007a65a7cd10d50545dee90c56f6e998c31
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Tue Aug 2 07:39:03 2011 -0700

    fix: dropping nonexistent ORCONN attributes
    
    The AGE, READ, and WRITTEN attributes of ORCONN don't exist so dropping them
    from the log panel.
---
 src/cli/logPanel.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/cli/logPanel.py b/src/cli/logPanel.py
index 0b4ab9c..bb47517 100644
--- a/src/cli/logPanel.py
+++ b/src/cli/logPanel.py
@@ -515,9 +515,6 @@ class TorEventObserver(TorCtl.PostEventListener):
   
   def or_conn_status_event(self, event):
     msg = "STATUS: %-10s ENDPOINT: %-20s" % (event.status, event.endpoint)
-    if event.age: msg += " AGE: %-3s" % event.age
-    if event.read_bytes: msg += " READ: %-4i" % event.read_bytes
-    if event.wrote_bytes: msg += " WRITTEN: %-4i" % event.wrote_bytes
     if event.reason: msg += " REASON: %-6s" % event.reason
     if event.ncircs: msg += " NCIRCS: %i" % event.ncircs
     self._notify(event, msg)



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