Change SQLa sample to be python 2 compatible