Skip to content

Commit 58d47a7

Browse files
committed
Whitespace fixes
1 parent 79fcbb2 commit 58d47a7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

geoip2/records.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ def __new__(cls, languages, *subdivisions):
256256
def most_specific(self):
257257
"""The most specific subdivision available
258258
259-
:returns: The most specific (smallest) :py:class:`Subdivision`.
260-
If there are no :py:class:`Subdivision` objects for the response,
261-
this returns an empty :py:class:`Subdivision`.
259+
:returns: The most specific (smallest) :py:class:`Subdivision`. If
260+
there are no :py:class:`Subdivision` objects for the response, this
261+
returns an empty :py:class:`Subdivision`.
262262
263263
"""
264264
try:

geoip2/webservices.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def _response_for(self, path, model_class, ip_address):
208208
headers={'Accept': 'application/json',
209209
'User-Agent': self._user_agent()})
210210
if (response.status_code == 200): #pylint:disable=E1103
211+
if (response.status_code == 200):
211212
body = self._handle_success(response, uri)
212213
return model_class(body, languages=self.languages)
213214
else:

0 commit comments

Comments
 (0)