# HG changeset patch # User casties # Date 1308820579 -7200 # Node ID 22c16a6329092ffb9ef35dede1b75e6641507684 # Parent 283c01ebe96e7cddc33280ef54fccf9c37e9656a add single-quote to ignored characters in sqlName. diff -r 283c01ebe96e -r 22c16a632909 DBInterface.py --- a/DBInterface.py Wed Jun 15 16:59:43 2011 +0200 +++ b/DBInterface.py Thu Jun 23 11:16:19 2011 +0200 @@ -59,6 +59,8 @@ if s is None: return "" + # remove ' + s = s.replace("'","") # all else -> "_" s = re.sub('[^A-Za-z0-9_'+more+']','_',s) if lc: