FIx a syntax error caused by a missing comma

```
./solutions/system_design/sales_rank/sales_rank_mapreduce.py:12:27: E999 SyntaxError: invalid syntax
    def mapper(self, _ line):
                          ^
```
This commit is contained in:
cclauss
2018-03-18 14:29:33 +01:00
committed by GitHub
parent d4df81c7bd
commit 86b2f6f483

View File

@@ -9,7 +9,7 @@ class SalesRanker(MRJob):
"""Return True if timestamp is within past week, False otherwise.""" """Return True if timestamp is within past week, False otherwise."""
... ...
def mapper(self, _ line): def mapper(self, _, line):
"""Parse each log line, extract and transform relevant lines. """Parse each log line, extract and transform relevant lines.
Emit key value pairs of the form: Emit key value pairs of the form: