Former San Francisco building inspector gets one year in pri