Author: atagar
Date: 2011-01-20 03:28:00 +0000 (Thu, 20 Jan 2011)
New Revision: 24114

Modified:
   arm/trunk/src/interface/connPanel.py
Log:
Misparsing family entries when there's no entry after the comma (caught by 
StrangeCharm)
https://trac.torproject.org/projects/tor/ticket/2414



Modified: arm/trunk/src/interface/connPanel.py
===================================================================
--- arm/trunk/src/interface/connPanel.py        2011-01-20 03:08:16 UTC (rev 
24113)
+++ arm/trunk/src/interface/connPanel.py        2011-01-20 03:28:00 UTC (rev 
24114)
@@ -878,6 +878,8 @@
     self.familyFingerprints = {}
     
     for familyEntry in self.family:
+      if not familyEntry: continue
+      
       if familyEntry[0] == "$":
         # relay identified by fingerprint
         self.familyFingerprints[familyEntry] = familyEntry[1:]

Reply via email to