Project

General

Profile

« Previous | Next » 

Revision 3041

sql_gen.py: Added esc_comment()

View differences:

sql_gen.py
45 45

  
46 46
def clean_name(name): return name.replace('"', '').replace('`', '')
47 47

  
48
def esc_comment(comment): return '/*'+comment.replace('*/', '* /')+'*/'
49

  
48 50
##### General SQL code objects
49 51

  
50 52
class MockDb:

Also available in: Unified diff