fix python nits