[tor-bugs] #6696 [Compass]: add Byte/s to Advertised Bandwidth column

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Sep 9 22:58:46 UTC 2012


#6696: add Byte/s to Advertised Bandwidth column
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:  gsathya     
     Type:  enhancement  |         Status:  needs_review
 Priority:  normal       |      Milestone:              
Component:  Compass      |        Version:              
 Keywords:               |         Parent:              
   Points:               |   Actualpoints:              
-------------------------+--------------------------------------------------

Comment(by atagar):

 I suspect your princess is in another castle. The misalignment of that
 last line isn't because of those formatted strings, but rather the
 alternate output on line 315...
 https://github.com/gsathya/compass/blob/bug_6696/compass.py#L315

 > format_string = "%8.4f%%  %1.2f  %4.2f%% %8.4f%% %8.4f%% %8.4f%% %-19s
 %-40s %-4s %-5s %-2s %-9s"

 vs

 > "%8.4f%%        %4.2f%% %8.4f%% %8.4f%% %8.4f%% (%d other %s)"

 Cheers! -Damian

 PS. Outside of the arm and stem components I don't routinely read tickets.
 The cc field isn't a very good way of getting my attention since I get
 emailed for all tickets anyway. Please ping me via email or irc when you
 want me to look at a ticket. :)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6696#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list