diff options
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 af47c73..3ee5e06 100644 --- a/examples/getNTPserversNew.py +++ b/examples/getNTPserversNew.py @@ -25,5 +25,5 @@ with urlopen(nistTimeServerURL) as serverListPage: addrs = {} for srvr, startloc, endloc in timeServerPattern.scanString(serverListHTML): - print("{0} ({1}) - {2}".format(srvr.ipAddr, srvr.hostname.strip(), srvr.loc.strip())) + print("{} ({}) - {}".format(srvr.ipAddr, srvr.hostname.strip(), srvr.loc.strip())) addrs[srvr.ipAddr] = srvr.loc |