Force minimum six version
Fixed type call on python2