[tor-bugs] #14046 [Stem]: stem.util.connection.port_usage always returns 'None'

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 31 17:48:22 UTC 2014


#14046: stem.util.connection.port_usage always returns 'None'
------------------------+--------------------
     Reporter:  toralf  |      Owner:  atagar
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------

Comment (by atagar):

 Hi toralf, think I see the issue. The setup.py doesn't inlcude ports.cfg
 in its package_data. This works with a git checkout...

 {{{
 % tor-prompt
 >>> from stem.util.connection import port_usage
 >>> port_usage(80)
 'HTTP'
 }}}

 ... but not via packages. Thanks for the catch! Gotta head to work but
 I'll fix this over the weekend.

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


More information about the tor-bugs mailing list