Project

General

Profile

« Previous | Next » 

Revision 2269

sql_gen.py: CustomCode: Fixed bug where needed to inherit from Code

View differences:

sql_gen.py
11 11
    
12 12
    def __str__(self): return str(self.__dict__)
13 13

  
14
class CustomCode:
14
class CustomCode(Code):
15 15
    def __init__(self, str_): self.str_ = str_
16 16
    
17 17
    def to_str(self, db): return self.str_

Also available in: Unified diff