Skip to content

Commit

Permalink
changed order of steps to make it less confusing, no functional change
Browse files Browse the repository at this point in the history
  • Loading branch information
pbharrin committed Dec 30, 2011
1 parent d0dec0b commit df7e569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ch15/mrMean.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def reduce(self, key, packedValues):
yield (mean, var) #emit mean and var

def steps(self):
return ([self.mr(mapper=self.map, reducer=self.reduce,\
mapper_final=self.map_final)])
return ([self.mr(mapper=self.map, mapper_final=self.map_final,\
reducer=self.reduce,)])

if __name__ == '__main__':
MRmean.run()

0 comments on commit df7e569

Please sign in to comment.