compatibility with F20's python 2.7.5-12