Oil prices rose on Monday after attacks by saboteurs ended deliveries through a key export pipeline for Iraqi crude and an upsurge of violence in the Nigerian oil city of Warri raised fears of further disruption. New York crude oil futures climbed 27 cents per barrel to $31.32 while North Sea Brent was 36 cents up at $29.17. ‘‘The combination of Nigeria and Iraq is keeping the market supported, but I don’t think it’s going to go that much higher unless the situation in Nigeria gets a lot worse,’’ said analyst Paul Bednarczyk of 4CAST.Over the weekend, two blasts on the Iraq-Turkey oil pipeline closed the key northern export route over the weekend. The pipeline had only last week resumed pumping for the first time since the US invaded Iraq in March. On Monday, Iraqi engineers and US soldiers struggled to carry out repairs, but officials said it could be two weeks before the pipeline was working again. An oil ministry source said Iraq would not meet its target to produce two million barrels per day of oil by the end of the year if looting and sabotage persisted. ‘‘If things are stable for two or three months straight, then we could reach our target. If they stay the same, it can’t happen,’’ the official said. Under a US investment plan approved last month, Baghdad had hoped to pump two million barrels per day by the end of the year. Exports were expected to reach 1.5 million barrels per day by then.