fixing a minor generation issue in api.mustashe to make sure that python scripts are as clean as possible for apis