summaryrefslogtreecommitdiff
path: root/examples/getNTPserversNew.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/getNTPserversNew.py')
-rw-r--r--examples/getNTPserversNew.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/getNTPserversNew.py b/examples/getNTPserversNew.py
index 14e710c..6995b29 100644
--- a/examples/getNTPserversNew.py
+++ b/examples/getNTPserversNew.py
@@ -31,5 +31,5 @@ serverListPage.close()
addrs = {}
for srvr,startloc,endloc in timeServerPattern.scanString( serverListHTML ):
- print("%s (%s) - %s" % (srvr.ipAddr, srvr.hostname.strip(), srvr.loc.strip()))
+ print("{} ({}) - {}".format(srvr.ipAddr, srvr.hostname.strip(), srvr.loc.strip()))
addrs[srvr.ipAddr] = srvr.loc