From f05fad0d41d1987bd74e4a53814611295dd901db Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 21 Jul 2016 18:10:29 -0700 Subject: [PATCH] remove load_asnum_db and load_country_db from python bindings (#930) --- ChangeLog | 1 + bindings/python/src/session.cpp | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17b05d787..cedd201f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 614ac163a..42626f6b7 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -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(<::session::set_max_connections)) .def("max_connections", allow_threads(<::session::max_connections)) .def("num_connections", allow_threads(<::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(<::session::set_max_half_open_connections)) .def("set_severity_level", allow_threads(<::session::set_severity_level)) .def("set_alert_queue_size_limit", allow_threads(<::session::set_alert_queue_size_limit))