refs #2: fixed python 2.6