Political Movie of 2011

I saw a movie about a campaign manager who really believed in the candidate. But then the candidate turned out to be…well, not fully who they thought it was.

Anyway, due to a misunderstanding, this campaign manager gets fired from the job. But then he gets back to the person who fired him.

Know the name of this movie?

OK, end of mystery, I found the name of the movie:

Yeah, not a bad movie but not as good as it should have been given the cast.