[rhinstaller/anaconda/pulls/265 master] Add few docs and improvement in check_ip_address

vpodzime installerbot-noreply at redhat.com
Fri Jul 31 13:47:36 UTC 2015


> @@ -161,9 +179,12 @@ def prefix2netmask(prefix):
>      netmask = ".".join(str(byte) for byte in _bytes)
>      return netmask
>  
> -# Try to determine what the hostname should be for this system
>  def getHostname():
> +    """ Try to determine what the hostname should be for this system
>  
> +        :return: Hostname for this system

this can also be dropped

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/265#discussion_r35974395


More information about the anaconda-patches mailing list