“Yeah, it’s a lousy bill, but it’s the best hope we have for keeping the lights on,” one lawmaker said Wednesday.