Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hwillard98/arrow
Browse files Browse the repository at this point in the history
+ style fixes
  • Loading branch information
hwillard98 committed Dec 9, 2019
2 parents 7355768 + 3cca6fb commit f9018a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrow/locales.py
Expand Up @@ -87,8 +87,7 @@ def describe_multi(self, timeframes, only_distance=False):
"""

humanized = ""
for index in range(len(timeframes)):
timeframe, delta = timeframes[index]
for index, (timeframe, delta) in enumerate(timeframes):
humanized += self._format_timeframe(timeframe, delta)
if index == len(timeframes) - 2 and self.and_word:
humanized += " " + self.and_word + " "
Expand Down

0 comments on commit f9018a7

Please sign in to comment.