Sec. 49. Conflicts of interest.
   That no mayor or commissioner, or other officer of said town, shall directly or indirectly become a contractor for work to be done for the town, and any person herein offending shall be guilty of a misdemeanor.