1
0
mirror of https://github.com/donnemartin/system-design-primer.git synced 2025-06-12 21:47:33 +02:00

Fix coding errors (#149)

This commit is contained in:
cclauss
2018-04-25 19:19:04 -06:00
committed by Donne Martin
parent bb49172d92
commit fb6624215a
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ class HitCounts(MRJob):
period = self.extract_year_month(line)
yield (period, url), 1
def reducer(self, key, value):
def reducer(self, key, values):
"""Sum values for each key.
(2016-01, url0), 2