The effects of oxygen on line intensities during spark excitation