He met with Catholic officials in Uganda and said nothing about the Ugandan kill-the-gays bill. David Gibson provides a rationale:
There are several reasons why Benedict may not have mentioned the anti-gay bill -- or rather the broader issue of human rights and protections for homosexuals and love of the sinner, since for diplomatic reasons the pope would not target a specific piece of legislation. One is that he may not be aware of the legislation or the controversy. Another is that his aides know that if he raised the issue it would become the lead of every story. There is also concern that having religious leaders outside Uganda speak out against the popular bill would backfire and ensure its passage.