[tor-bugs] #7835 [Stem]: TypeError in __init__.py due to attempt to concatenate list with tuple (typo?)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 31 08:48:03 UTC 2012


#7835: TypeError in __init__.py due to attempt to concatenate list with tuple
(typo?)
--------------------+-------------------------------------------------------
 Reporter:  peer    |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  normal  |      Milestone:        
Component:  Stem    |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 For StreamClosureReason, the code attempts to join a list with a tuple by
 using parentheses (tuple) instead of square brackets (list).

 {{{
 File "stem/__init__.py", line 579, in <module>
   "PRIVATE_ADDR",
 TypeError: can only concatenate list (not "tuple") to list
 }}}

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


More information about the tor-bugs mailing list