]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix cut-and-paste typo
authorBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 14:48:49 +0000 (07:48 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 14:48:49 +0000 (07:48 -0700)
dns/rdtypes/ANY/GPOS.py

index 48a2489a6902c2bc72a7330c8a4b75927c92fb69..e8b69eedd3c3299cd722073e73b0f6e4e565e980 100644 (file)
@@ -78,7 +78,7 @@ class GPOS(dns.rdata.Rdata):
         flat = self.float_latitude
         if flat < -90.0 or flat > 90.0:
             raise dns.exception.FormError('bad latitude')
-        flong = self.float_latitude
+        flong = self.float_longitude
         if flong < -180.0 or flong > 180.0:
             raise dns.exception.FormError('bad longitude')