Skip to content

Commit c33b5ac

Browse files
committed
Tidy whitespace in docstrings
1 parent df58bd4 commit c33b5ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

datapoint/regions/RegionManager.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
from datapoint.Site import Site
77
from datapoint.regions.region_names import REGION_NAMES
8-
98
REGIONS_BASE_URL = 'http://datapoint.metoffice.gov.uk/public/data/txt/wxfcs/regionalforecast/json'
109

10+
1111
class RegionManager(object):
1212
'''
13-
Datapoint Manager for national and regional text forecasts
13+
Datapoint Manager for national and regional text forecasts
1414
'''
1515
def __init__(self, api_key, base_url=None):
1616
self.api_key = api_key
@@ -39,9 +39,9 @@ def call_api(self, path, **kwargs):
3939

4040
def get_all_regions(self):
4141
'''
42-
Request a list of regions from Datapoint. Returns each Region
43-
as a Site object. Regions rarely change, so we cache the response
44-
for one hour to minimise requests to API.
42+
Request a list of regions from Datapoint. Returns each Region
43+
as a Site object. Regions rarely change, so we cache the response
44+
for one hour to minimise requests to API.
4545
'''
4646
if (time() - self.regions_last_update) < self.regions_update_time:
4747
return self.regions_last_request

0 commit comments

Comments
 (0)