Skip to content

Commit

Permalink
fixes join in WithJoined
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunc committed May 31, 2013
1 parent a810d63 commit 195d4c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions freshen/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#-*- coding: utf8 -*-
# -*- coding: utf8 -*-

# This line ensures that frames from this file will not be shown in tracebacks
__unittest = 1
Expand Down Expand Up @@ -213,8 +213,7 @@ def create_joined_table( table, *with_tables ):
for joined in with_tables:
table.headings.extend( joined.headings )
table.rows = [
reduce( lambda a, b: a + b, seg )
for seg in product( table.rows, joined.rows )
a + b for a, b in product( table.rows, joined.rows )
]
return table

Expand Down

0 comments on commit 195d4c6

Please sign in to comment.