If Bush attacked Iran near the election, it might help McCain win. He could more easily sell himself as a war president. The crisis, he could argue, called for continuity of policy. This might mobilize people on the fence. The anti-war people who are going for Obama will go for him anyway.
