Section 17. If costs are taxed for the commonwealth, no fees shall be taxed or allowed for the travel of the attorney general or any attorney for the commonwealth.