Skip to content

Commit

Permalink
Minor PEP-8 and enable pylint message.
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Dec 29, 2012
1 parent 76f8c8c commit 8c6820e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions salt/utils/socket_util.py
Expand Up @@ -50,6 +50,7 @@ def host_to_ip(host):
ip = None
return ip


def ip_to_host(ip):
'''
Returns the hostname of a given IP
Expand All @@ -63,3 +64,5 @@ def ip_to_host(ip):
except Exception:
hostname = None
return hostname

# pylint: enable-msg=C0103

0 comments on commit 8c6820e

Please sign in to comment.