Project

General

Profile

« Previous | Next » 

Revision 2266

sql_gen.py: Join.to_str(): Fixed bug where type_ None was being concatenated with the JOIN str

View differences:

sql_gen.py
170 170
        
171 171
        # Create join
172 172
        if type_ is filter_out: type_ = 'LEFT'
173
        return type_+' JOIN '+table+' '+join_cond
173
        str_ = ''
174
        if type_ != None: str_ += type_+' '
175
        str_ += 'JOIN '+table+' '+join_cond
176
        return str_
174 177

  
175 178
##### Old-style format support
176 179

  

Also available in: Unified diff