Revision 2363
Added by Aaron Marcuse-Kubitza almost 13 years ago
sql.py | ||
---|---|---|
782 | 782 |
db.log_debug('Caught exception: '+exc.str_(e, first_line_only=True)) |
783 | 783 |
def ignore(in_col, value): |
784 | 784 |
db.log_debug('Ignoring rows with '+str(in_col)+' = '+value) |
785 |
assert in_col not in conds # avoid infinite loops |
|
785 | 786 |
conds[in_col] = sql_gen.CompareCond(value, '!=') |
786 | 787 |
|
787 | 788 |
# Do inserts and selects |
Also available in: Unified diff
sql.py: put_table(): ignore(): Avoid infinite loops by asserting that in_col is not in conds