"Today, Barack Obama's Democratic party failed the American people."
Here is the ACTUAL voting breakdown:

So, to be clear, Democrats and their leadership delivered roughly 60% of their rank and file to pass the vote, while Republicans delivered roughly 33% of their rank and file.
Had the Republican leadership (McCain) delivered just half of his party to vote for the bill, it would have passed.
However, it's the Democrats fault cause Nancy Pelosi gave a speech which hurt Republican feelings.