Project

General

Profile

« Previous | Next » 

Revision 2753

sql_gen.py: Added remove_table_rename()

View differences:

lib/sql_gen.py
162 162
    
163 163
    def to_Table(self): return Table(self.name)
164 164

  
165
def remove_table_rename(table):
166
    if isinstance(table, NamedTable): table = table.code
167
    return table
168

  
165 169
##### Columns
166 170

  
167 171
class Col(Derived):

Also available in: Unified diff