Fire technicians were cleaning out a strainer while conducting maintenance on a diesel fire pump. While in the process of reinstalling the cover one of the technicians lost grip and control of the cover, which resulted in the fingers of the other fire technician being pinched between the cover and the strainer casing.