From: Bob Halley Date: Fri, 19 Jun 2020 14:56:39 +0000 (-0700) Subject: lint X-Git-Tag: v2.0.0rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0779dbf3dc29593489d93d15e63213ff5eb4e92e;p=thirdparty%2Fdnspython.git lint --- diff --git a/dns/rdtypes/ANY/LOC.py b/dns/rdtypes/ANY/LOC.py index 4099c0c9..31065bba 100644 --- a/dns/rdtypes/ANY/LOC.py +++ b/dns/rdtypes/ANY/LOC.py @@ -29,10 +29,10 @@ _default_hprec = 1000000.0 _default_vprec = 1000.0 # for use by from_wire() -_MAX_LATITUDE = 0x80000000 + 90*3600000 -_MIN_LATITUDE = 0x80000000 - 90*3600000 -_MAX_LONGITUDE = 0x80000000 + 180*3600000 -_MIN_LONGITUDE = 0x80000000 - 180*3600000 +_MAX_LATITUDE = 0x80000000 + 90 * 3600000 +_MIN_LATITUDE = 0x80000000 - 90 * 3600000 +_MAX_LONGITUDE = 0x80000000 + 180 * 3600000 +_MIN_LONGITUDE = 0x80000000 - 180 * 3600000 # pylint complains about division since we don't have a from __future__ for # it, but we don't care about python 2 warnings, so turn them off.