remove uneeded stuff after python changes in [8639]