From: Bob Halley Date: Sun, 25 Nov 2007 17:35:02 +0000 (+0000) Subject: fix typo X-Git-Tag: v1.6.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f217ea9e304f9f45678f658c5dc6e2325a3f69;p=thirdparty%2Fdnspython.git fix typo --- diff --git a/dns/rdtypes/IN/NAPTR.py b/dns/rdtypes/IN/NAPTR.py index d7ddb50d..9c737a10 100644 --- a/dns/rdtypes/IN/NAPTR.py +++ b/dns/rdtypes/IN/NAPTR.py @@ -119,7 +119,7 @@ class NAPTR(dns.rdata.Rdata): def _cmp(self, other): sp = struct.pack("!HH", self.order, self.preference) - op = struct.pack("!HH", other.order, order.preference) + op = struct.pack("!HH", other.order, other.preference) v = cmp(sp, op) if v == 0: v = cmp(self.flags, other.flags)