Revision 3645
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
10 | 10 |
import strings |
11 | 11 |
import util |
12 | 12 |
|
13 |
##### Exceptions |
|
14 |
|
|
15 |
# Can't use built-in SyntaxError because it stringifies to only the first line |
|
16 |
class SyntaxError(Exception): pass |
|
17 |
|
|
13 | 18 |
##### Data cleanup |
14 | 19 |
|
15 | 20 |
def cleanup_table(db, table, cols): |
Also available in: Unified diff
sql_io.py: Added own SyntaxError class to replace built-in SyntaxError because it stringifies to only the first line