[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:19 UTC 2015


> @@ -130,14 +143,19 @@ def getIPs():
>      # prefer IPv4 addresses to IPv6 addresses
>      return ipv4_addresses + ipv6_addresses
>  
> -# Return the first real non-local IP we find
>  def getFirstRealIP():
> +    """ Return the first real non-local IP we find from the list of
> +        all active devices.
> +
> +        :return: first non-local IP or ``None``

Same here.

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


More information about the anaconda-patches mailing list