diff options
| author | Bob Halley <halley@nominum.com> | 2010-01-16 19:15:13 -0800 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2010-01-25 08:20:25 -0800 |
| commit | 89fcd1409056afc73362f3836ef1cd99156b093e (patch) | |
| tree | 2aba764ca1c34d2dcc1a1065409b9cf370f24cb8 /examples/mx.py | |
| parent | 53cb0eb5cfb463ebd0fdad55026ba25ac5c898d4 (diff) | |
| download | dnspython-89fcd1409056afc73362f3836ef1cd99156b093e.tar.gz | |
Initial python 3 port (may have sharp edges still!)
Diffstat (limited to 'examples/mx.py')
| -rwxr-xr-x | examples/mx.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mx.py b/examples/mx.py index 3036e70..4fe34df 100755 --- a/examples/mx.py +++ b/examples/mx.py @@ -4,4 +4,5 @@ import dns.resolver answers = dns.resolver.query('nominum.com', 'MX') for rdata in answers: - print 'Host', rdata.exchange, 'has preference', rdata.preference + print('Host', rdata.exchange, 'has preference', rdata.preference) + |
