Paul O'Neill, the Treasury secretary, praised legislators yesterday for their action, saying it spared the government from choosing between defaulting on the national debt and using "potentially fraudulent accounting devices".