From 677c7a584fe6c9973412ca2820b1f333ad6add5b Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Fri, 20 Sep 2024 22:04:55 +0200 Subject: [PATCH] Improve docs in gnome_remote_desktop source Add information about possible raised exception. --- pyanaconda/gnome_remote_desktop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyanaconda/gnome_remote_desktop.py b/pyanaconda/gnome_remote_desktop.py index c7206068c56..89f1a8a069d 100644 --- a/pyanaconda/gnome_remote_desktop.py +++ b/pyanaconda/gnome_remote_desktop.py @@ -164,6 +164,8 @@ def _get_hostname_in_thread(ip, stdout_log): This call will be done from the thread to avoid situations where DNS is too slow or doesn't exists and we are waiting for the reply about 2 minutes. + + :raises: ValueError and socket.herror """ try: hinfo = socket.gethostbyaddr(ip)