diff options
author | Bob Halley <halley@dnspython.org> | 2014-09-01 06:09:19 -0700 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2014-09-01 06:09:19 -0700 |
commit | f9597eefe62c1bcda08c1a89140248060a07c73c (patch) | |
tree | c8af556a9a77c31656b973c643fcea046dca8d2f | |
parent | c6bd655ed1c60480fc23c7014cd33c4f8f412514 (diff) | |
download | dnspython-f9597eefe62c1bcda08c1a89140248060a07c73c.tar.gz |
Remove deprecated universal newlines flag to open().v1.12.0-py3
-rw-r--r-- | dns/zone.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/zone.py b/dns/zone.py index 9a8fc22..ece898a 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -965,7 +965,7 @@ def from_file(f, origin = None, rdclass = dns.rdataclass.IN, if isinstance(f, str): if filename is None: filename = f - f = open(f, 'rU') + f = open(f, 'r') want_close = True else: if filename is None: |