Sanctions against Iran, devised to bring it to the negotiating table and curb its nuclear program, made it hard for the country to sell its oil. Deprived of customers and investment, Iranians saw production fall to less than half its peak before the 1979 revolution. A July 13 deal between Iran and six major nations could lift those sanctions, and the oil will flow.