Merge pull request #617 from arvidn/py-dht_get_peers-1.1

make dht_get_peers_reply_alert::peers a function in python binding
This commit is contained in:
Arvid Norberg 2016-04-15 19:44:21 -04:00
commit cdddf62468
1 changed files with 1 additions and 1 deletions

View File

@ -772,6 +772,6 @@ void bind_alert()
"dht_get_peers_reply_alert", no_init) "dht_get_peers_reply_alert", no_init)
.def_readonly("info_hash", &dht_get_peers_reply_alert::info_hash) .def_readonly("info_hash", &dht_get_peers_reply_alert::info_hash)
.def("num_peers", &dht_get_peers_reply_alert::num_peers) .def("num_peers", &dht_get_peers_reply_alert::num_peers)
.add_property("peers", &dht_get_peers_reply_alert_peers) .def("peers", &dht_get_peers_reply_alert_peers)
; ;
} }