From: Bob Halley Date: Fri, 19 Jun 2020 14:48:49 +0000 (-0700) Subject: fix cut-and-paste typo X-Git-Tag: v2.0.0rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c5e3268cb5947a5e53880dd7345d4e90ce663f;p=thirdparty%2Fdnspython.git fix cut-and-paste typo --- diff --git a/dns/rdtypes/ANY/GPOS.py b/dns/rdtypes/ANY/GPOS.py index 48a2489a..e8b69eed 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')