Project

General

Profile

« Previous | Next » 

Revision 2360

sql_gen.py: Code: Inherit from new objects.BasicObject

View differences:

sql_gen.py
2 2

  
3 3
import operator
4 4

  
5
import objects
5 6
import sql
6 7
import strings
7 8
import util
......
14 15
    def esc_name(self, name): return name
15 16
mockDb = MockDb()
16 17

  
17
class Code(strings.DebugPrintable):
18
class Code(objects.BasicObject):
18 19
    def to_str(self, db): raise NotImplemented()
19 20
    
20 21
    def __str__(self): return self.to_str(mockDb)

Also available in: Unified diff