House and Senate leaders on Wednesday morning were putting the finishing touches on a deal to avert a government shutdown, fund the government into mid-December and leave town to focus on Election Day.Speaker Paul Ryan (R-Wis.) and Minority Leader Nancy Pelosi (D-Calif.) huddled twice Tuesday to iron out a dispute over what to do about the water crisis in Flint, Michigan.