remove load_asnum_db and load_country_db from python bindings (#930)

This commit is contained in:
Arvid Norberg 2016-07-21 18:10:29 -07:00 committed by GitHub
parent 5bda955f8f
commit f05fad0d41
2 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,6 @@
1.1.1 release
* remove load_asnum_db and load_country_db from python bindings
* fix crash in session::get_ip_filter when not having set one
* fix filename escaping when repairing torrents with broken web seeds
* fix bug where file_completed_alert would not be posted unless file_progress

View File

@ -498,9 +498,6 @@ namespace
}
return pieces;
}
void load_asnum_db(lt::session& s, std::string file) {}
void load_country_db(lt::session& s, std::string file) {}
#endif
entry save_state(lt::session const& s, boost::uint32_t flags)
@ -875,8 +872,6 @@ void bind_session()
.def("set_max_connections", allow_threads(&lt::session::set_max_connections))
.def("max_connections", allow_threads(&lt::session::max_connections))
.def("num_connections", allow_threads(&lt::session::num_connections))
.def("load_asnum_db", &load_asnum_db)
.def("load_country_db", &load_country_db)
.def("set_max_half_open_connections", allow_threads(&lt::session::set_max_half_open_connections))
.def("set_severity_level", allow_threads(&lt::session::set_severity_level))
.def("set_alert_queue_size_limit", allow_threads(&lt::session::set_alert_queue_size_limit))