commit 4f993e79ff1acc9e565b190be97f9a30a066fcc3 Author: Damian Johnson <ata...@torproject.org> Date: Fri Oct 19 12:05:12 2018 -0700
Note that set_process_name can raise IOErrors Oops, the code explicitly raises these when unable to do so but our docs didn't mention it. --- stem/util/system.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stem/util/system.py b/stem/util/system.py index 17eeb61d..2d52b022 100644 --- a/stem/util/system.py +++ b/stem/util/system.py @@ -1409,6 +1409,8 @@ def set_process_name(process_name): best-effort, not necessarily working on all platforms. :param str process_name: new name for our process + + :raises: **IOError** if the process cannot be renamed """ # This is mostly based on... _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits