Skip to content

Commit

Permalink
Remove double underscore from __generate_ranges method and calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jtemporal committed Jul 20, 2017
1 parent 2ba060c commit 4e3234d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def fetch(self, start_date, end_date):
"""

records = []
for r in self.__generate_ranges(start_date, end_date):
for r in self._generate_ranges(start_date, end_date):
if os.environ.get('DEBUG') == '1':
print(r)
for record in self.__fetch_missions_for_range(r[0], r[1]):
Expand Down Expand Up @@ -63,7 +63,7 @@ def fetch(self, start_date, end_date):

return df.drop_duplicates()

def __generate_ranges(self, start_date, end_date):
def _generate_ranges(self, start_date, end_date):
"""
Generate a list of 2 month ranges for the range requested with an
intersection between months. This is necessary because we can't search
Expand Down

0 comments on commit 4e3234d

Please sign in to comment.