[or-cvs] r22160: {arm} Quick fix for malformed display string (crashing issue). (in arm/trunk: . interface)

Damian Johnson atagar1 at gmail.com
Fri Apr 9 15:41:47 UTC 2010


Author: atagar
Date: 2010-04-09 15:41:47 +0000 (Fri, 09 Apr 2010)
New Revision: 22160

Modified:
   arm/trunk/ChangeLog
   arm/trunk/interface/bandwidthMonitor.py
Log:
Quick fix for malformed display string (crashing issue).



Modified: arm/trunk/ChangeLog
===================================================================
--- arm/trunk/ChangeLog	2010-04-09 10:07:25 UTC (rev 22159)
+++ arm/trunk/ChangeLog	2010-04-09 15:41:47 UTC (rev 22160)
@@ -1,6 +1,6 @@
 CHANGE LOG
 
-4/8/10 - version 1.3.5
+4/8/10 - version 1.3.5 (r22148)
 Utility and service rewrite (refactored roughly a third of the codebase, including revised APIs and much better documentation).
 
     * added: centralized logging utility for handling arm events, simplifying several parts of the interface

Modified: arm/trunk/interface/bandwidthMonitor.py
===================================================================
--- arm/trunk/interface/bandwidthMonitor.py	2010-04-09 10:07:25 UTC (rev 22159)
+++ arm/trunk/interface/bandwidthMonitor.py	2010-04-09 15:41:47 UTC (rev 22160)
@@ -88,7 +88,7 @@
         if status == "soft": hibernateColor = "yellow"
         elif status == "hard": hibernateColor = "red"
         
-        panel.addfstr(10, 0, "<b>Accounting (<%s>%s</%s>)" % (hibernateColor, status, hibernateColor))
+        panel.addfstr(10, 0, "<b>Accounting (<%s>%s</%s>)</b>" % (hibernateColor, status, hibernateColor))
         panel.addstr(10, 35, "Time to reset: %s" % self.accountingInfo["resetTime"])
         panel.addstr(11, 2, "%s / %s" % (self.accountingInfo["read"], self.accountingInfo["readLimit"]), uiTools.getColor(self.primaryColor))
         panel.addstr(11, 37, "%s / %s" % (self.accountingInfo["written"], self.accountingInfo["writtenLimit"]), uiTools.getColor(self.secondaryColor))



More information about the tor-commits mailing list