Skip to content

Commit

Permalink
Closes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
klbostee committed May 16, 2009
1 parent ec34812 commit 428b843
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dumbo/lib.py
Expand Up @@ -154,3 +154,12 @@ def __call__(self, key, values):
jk = copy(key)
jk.body = k
yield jk, v

def primary(self, key, values):
for value in values:
yield key, value

def secondary(self, key, values):
for value in values:
yield key, value

0 comments on commit 428b843

Please sign in to comment.