Revision 3517
Added by Aaron Marcuse-Kubitza over 12 years ago
sql_gen.py | ||
---|---|---|
346 | 346 |
def has_srcs(col): return is_col(col) and col.srcs |
347 | 347 |
|
348 | 348 |
def srcs_str(cols): |
349 |
cols = filter(is_col, cols)
|
|
349 |
cols = filter(has_srcs, cols)
|
|
350 | 350 |
return ','.join(('+'.join((s.name for s in c.srcs)) for c in cols)) |
351 | 351 |
|
352 | 352 |
class NamedCol(Col): |
Also available in: Unified diff
sql_gen.py: srcs_str(): Fixed bug where needed to filter out columns with no srcs so that there aren't empty elements in the ","-separated list