Two Senegalese opposition MPs were handed six-month jail terms on Monday for physically attacking a female colleague in parliament.