Converted the sqlparse lib to compatible with both python2 and 3.