diff options
author | 2016-08-16 12:28:17 +0100 | |
---|---|---|
committer | 2016-08-16 12:28:17 +0100 | |
commit | 04ca5bdec649ef54bab06083acbc00347099fbd5 (patch) | |
tree | 062954c6f611beabfbd9c77b977747e6ea2be070 /scripts | |
parent | 28ef229584b4fd1a358298984f0d07cff2170c21 (diff) |
Cleaned up comments and added PEP 257 -- Docstring Conventions
Change-Id: Id7e8e627e3e249948181c09deadf2d114b77dbf7
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/internet_check.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/internet_check.py b/scripts/internet_check.py index 1bed50a..7fd3b1b 100644 --- a/scripts/internet_check.py +++ b/scripts/internet_check.py @@ -16,6 +16,7 @@ TEST_HOST = "google.com" def is_connected(): + """ Perform socket connect to port 80 to verify connectivity """ try: host = socket.gethostbyname(TEST_HOST) socket.create_connection((host, 80), 2) |