summaryrefslogtreecommitdiffstats
path: root/Tools/world
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-11-20 18:43:05 (GMT)
committerBarry Warsaw <barry@python.org>1996-11-20 18:43:05 (GMT)
commit3ffc5036826a50b89d0b57700806c98230b5127c (patch)
treee1c9f82db4110cd8246a4c4317cefe4e3dc4536c /Tools/world
parent3d919c4d5bd4b0b7ab2d22d671d67cd254599da1 (diff)
downloadcpython-3ffc5036826a50b89d0b57700806c98230b5127c.zip
cpython-3ffc5036826a50b89d0b57700806c98230b5127c.tar.gz
cpython-3ffc5036826a50b89d0b57700806c98230b5127c.tar.bz2
Removed the USA'isms that aren't really true
Diffstat (limited to 'Tools/world')
-rwxr-xr-xTools/world/world6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/world/world b/Tools/world/world
index a610a56..4866215 100755
--- a/Tools/world/world
+++ b/Tools/world/world
@@ -19,6 +19,8 @@ The latest known change to this information was:
Thu Feb 10 10:20:28 MET 1994
+This script also knows about non-geographic top-level domains.
+
Usage: %s [-d] [-h] addr [addr ...]
-d (--dump) -- print mapping of all known top-level domains
@@ -47,7 +49,7 @@ def resolve(rawaddr):
return
addr = parts[-1]
if nameorg.has_key(addr):
- print rawaddr, 'is from a USA', nameorg[addr], 'organization'
+ print rawaddr, 'is from a', nameorg[addr], 'organization'
elif country.has_key(addr):
print rawaddr, 'originated from', country[addr]
else:
@@ -71,7 +73,7 @@ def main():
usage(status)
if dump:
- print 'USA-centric domains:'
+ print 'Non-geographic domains:'
codes = nameorg.keys()
codes.sort()
for code in codes: