]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix typo
authorBob Halley <halley@dnspython.org>
Sun, 25 Nov 2007 17:35:02 +0000 (17:35 +0000)
committerBob Halley <halley@dnspython.org>
Sun, 25 Nov 2007 17:35:02 +0000 (17:35 +0000)
dns/rdtypes/IN/NAPTR.py

index d7ddb50d385b26e950720c648c41f7503017ec0d..9c737a1034332b534047a209aad0fd29ef2eb350 100644 (file)
@@ -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)