Project

General

Profile

« Previous | Next » 

Revision 3645

sql_io.py: Added own SyntaxError class to replace built-in SyntaxError because it stringifies to only the first line

View differences:

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