[schema2sql] get range from six.moves [applied]