From 68aa222a58c523363975c3b356265cc607ae161e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 1 Aug 2011 00:05:53 +0000 Subject: [PATCH] expose set_peer_id to python binding --- ChangeLog | 1 + bindings/python/src/session.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 12315a8e1..e4a8695a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -87,6 +87,7 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * exposed set_peer_id to python binding * improve support for merkle tree torrent creation * exposed comparison operators on torrent_handle to python * exposed alert error_codes to python diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 856b040dd..9bd4b1e6b 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -565,6 +565,7 @@ void bind_session() .def("is_paused", allow_threads(&session::is_paused)) .def("id", allow_threads(&session::id)) .def("get_cache_status", allow_threads(&session::get_cache_status)) + .def("set_peer_id", allow_threads(&session::set_peer_id)) ; enum_("save_state_flags_t")