[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #32689 [Applications]: control.py self.msg() calls try to join lists with strings
#32689: control.py self.msg() calls try to join lists with strings
--------------------------+------------------------------
Reporter: kamin07 | Owner: (none)
Type: defect | Status: new
Priority: Medium | Component: Applications
Version: Tor: 0.3.3.6 | Severity: Normal
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------
In control.py, at the following instances, str is being concatenated with
a list, which raises an exception:
1. line 3129
2. line 3557
3. line 3952
4. line 3972
Example: line 3129:
raise stem.ProtocolError('SETEVENTS rejected %s' % ',
'.join(failed_events))
raises exception. Can be fixed by using:
raise stem.ProtocolError('SETEVENTS rejected %s' % ', '.join(str(v) for v
in failed_events))
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32689>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs