Section 51. Violations of any provision of section seven, twenty-six or thirty-four, shall, upon complaint made within one year thereafter, be punished by a fine of not more than five hundred dollars or by imprisonment for not more than one year, or both.