[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs