deprecate set_tracker_login in python binding

This commit is contained in:
arvidn 2015-12-13 16:25:05 -05:00
parent 4b6e11cc07
commit 1e6021f71e
1 changed files with 2 additions and 0 deletions

View File

@ -491,7 +491,9 @@ void bind_torrent_handle()
.def("max_uploads", _(&torrent_handle::max_uploads)) .def("max_uploads", _(&torrent_handle::max_uploads))
.def("set_max_connections", _(&torrent_handle::set_max_connections)) .def("set_max_connections", _(&torrent_handle::set_max_connections))
.def("max_connections", _(&torrent_handle::max_connections)) .def("max_connections", _(&torrent_handle::max_connections))
#ifndef TORRENT_NO_DEPRECATE
.def("set_tracker_login", _(&torrent_handle::set_tracker_login)) .def("set_tracker_login", _(&torrent_handle::set_tracker_login))
#endif
.def("move_storage", _(move_storage0), (arg("path"), arg("flags") = 0)) .def("move_storage", _(move_storage0), (arg("path"), arg("flags") = 0))
.def("info_hash", _(&torrent_handle::info_hash)) .def("info_hash", _(&torrent_handle::info_hash))
.def("force_recheck", _(&torrent_handle::force_recheck)) .def("force_recheck", _(&torrent_handle::force_recheck))