[or-cvs] r23253: {arm} fix: had case sensitive check for the torrc logging types (c (arm/trunk/src/interface)

Damian Johnson atagar1 at gmail.com
Mon Sep 20 16:06:20 UTC 2010


Author: atagar
Date: 2010-09-20 16:06:20 +0000 (Mon, 20 Sep 2010)
New Revision: 23253

Modified:
   arm/trunk/src/interface/logPanel.py
Log:
fix: had case sensitive check for the torrc logging types (caught by asn)



Modified: arm/trunk/src/interface/logPanel.py
===================================================================
--- arm/trunk/src/interface/logPanel.py	2010-09-20 08:44:11 UTC (rev 23252)
+++ arm/trunk/src/interface/logPanel.py	2010-09-20 16:06:20 UTC (rev 23253)
@@ -137,6 +137,7 @@
   
   # if the runlevels argument is a superset of the log file then we can
   # limit the read contents to the addLimit
+  loggingTypes = loggingTypes.upper()
   if addLimit and (not readLimit or readLimit > addLimit):
     if "-" in loggingTypes:
       divIndex = loggingTypes.find("-")



More information about the tor-commits mailing list