Fix Python 3 failure in automodsumm