diff options
Diffstat (limited to 'dns/rdtypes/ANY/URI.py')
-rw-r--r-- | dns/rdtypes/ANY/URI.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdtypes/ANY/URI.py b/dns/rdtypes/ANY/URI.py index c37ecdf..77f8964 100644 --- a/dns/rdtypes/ANY/URI.py +++ b/dns/rdtypes/ANY/URI.py @@ -57,7 +57,7 @@ class URI(dns.rdata.Rdata): tok.get_eol() return cls(rdclass, rdtype, priority, weight, target.value) - def to_wire(self, file, compress=None, origin=None): + def _to_wire(self, file, compress=None, origin=None, canonicalize=False): two_ints = struct.pack("!HH", self.priority, self.weight) file.write(two_ints) file.write(self.target) |