Project

General

Profile

« Previous | Next » 

Revision 3101

sql_gen.py: suffixed_table(): Use concat()

View differences:

lib/sql_gen.py
189 189
    if table == None or isinstance(table, Code): return table
190 190
    else: return Table(table, schema)
191 191

  
192
def suffixed_table(table, suffix): return Table(table.name+suffix, table.schema)
192
def suffixed_table(table, suffix):
193
    return Table(concat(table.name, suffix), table.schema)
193 194

  
194 195
class NamedTable(Table):
195 196
    def __init__(self, name, code, cols=None):

Also available in: Unified diff