Revision 2658
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
51 | 51 |
def __str__(self): return clean_name(strings.repr_no_u(self)) |
52 | 52 |
|
53 | 53 |
class Code(BasicObject): |
54 |
def to_str(self, db): raise NotImplemented() |
|
54 |
def to_str(self, db): raise NotImplementedError()
|
|
55 | 55 |
|
56 | 56 |
def __repr__(self): return self.to_str(mockDb) |
57 | 57 |
|
Also available in: Unified diff
sql_gen.py: Code.to_str(): Fixed bug where needed to raise NotImplementedError, not NotImplemented