diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-25 15:17:19 -0500 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-25 15:18:46 -0500 |
commit | c0339eb4af50880a66e6f0d19e3ecb3ce3469696 (patch) | |
tree | 6979d54a5b10eca137dba1be5a1c8791214e4cd1 /examples/getNTPserversNew.py | |
parent | 86c412dddfd785d16976d08b1c74c1eac466bfcb (diff) | |
download | pyparsing-git-c0339eb4af50880a66e6f0d19e3ecb3ce3469696.tar.gz |
Use HTTPS URLs where available in docs, examples, and comments
Diffstat (limited to 'examples/getNTPserversNew.py')
-rw-r--r-- | examples/getNTPserversNew.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/getNTPserversNew.py b/examples/getNTPserversNew.py index 6bad555..9d6b4ed 100644 --- a/examples/getNTPserversNew.py +++ b/examples/getNTPserversNew.py @@ -24,7 +24,7 @@ timeServerPattern = (tdStart + hostname("hostname") + tdEnd + tdStart + SkipTo(tdEnd)("loc") + tdEnd)
# get list of time servers
-nistTimeServerURL = "http://tf.nist.gov/tf-cgi/servers.cgi#"
+nistTimeServerURL = "https://tf.nist.gov/tf-cgi/servers.cgi#"
serverListPage = urlopen( nistTimeServerURL )
serverListHTML = serverListPage.read().decode("UTF-8")
serverListPage.close()
|