[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16048 [Stem]: Cannot access bandwidth attribute on RouterV3StatusEntry
#16048: Cannot access bandwidth attribute on RouterV3StatusEntry
------------------------+--------------------
Reporter: tom | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+--------------------
Comment (by tom):
{{{
from stem.descriptor import DocumentHandler
from stem.descriptor.remote import DescriptorDownloader, get_authorities
downloader = DescriptorDownloader()
query = downloader.get_vote(get_authorities()['moria1'], document_handler
= DocumentHandler.DOCUMENT, validate = False)
r = query.run()[0]
for i in r.routers:
print r.routers[i].bandwidth
}}}
That should repro it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16048#comment:6>
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