Skip to content

Commit

Permalink
Improve docs in gnome_remote_desktop source
Browse files Browse the repository at this point in the history
Add information about possible raised exception.
  • Loading branch information
jkonecny12 authored and KKoukiou committed Oct 10, 2024
1 parent ccb2531 commit 677c7a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyanaconda/gnome_remote_desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 677c7a5

Please sign in to comment.