summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-19 07:48:49 -0700
committerBob Halley <halley@dnspython.org>2020-06-19 07:48:49 -0700
commit71c5e3268cb5947a5e53880dd7345d4e90ce663f (patch)
tree6d98a017d44cb313dbd523d5e9e00e7a6406b23f /dns
parent26a305de96ca67dc88405e2af80723e3bbef7439 (diff)
downloaddnspython-71c5e3268cb5947a5e53880dd7345d4e90ce663f.tar.gz
fix cut-and-paste typo
Diffstat (limited to 'dns')
-rw-r--r--dns/rdtypes/ANY/GPOS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdtypes/ANY/GPOS.py b/dns/rdtypes/ANY/GPOS.py
index 48a2489..e8b69ee 100644
--- a/dns/rdtypes/ANY/GPOS.py
+++ b/dns/rdtypes/ANY/GPOS.py
@@ -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')