Fix Python 2.7.7 breakage