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

atagar at torproject.org atagar at torproject.org
Sun Sep 25 21:38:24 UTC 2011


commit eb4d0007a65a7cd10d50545dee90c56f6e998c31
Author: Damian Johnson <atagar at torproject.org>
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)





More information about the tor-commits mailing list